Yes, it uses the class abstraction which was introduced in PHP5 (<a href="http://php.net/manual/en/language.oop5.abstract.php">http://php.net/manual/en/language.oop5.abstract.php</a>)<br><br>Try upgrading to PHP5.<br><br>-Steve<br>
<br><br><div class="gmail_quote">On 26 January 2011 05:26, Madovsky <span dir="ltr"><<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font size="2">Seems that ESL.php is for PHP5 only ?</font></div><div><div></div><div class="h5">
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;" dir="ltr">
<div style="font: 10pt arial;">----- Original Message ----- </div>
<div style="font: 10pt arial; background: none repeat scroll 0% 0% rgb(228, 228, 228);"><b>From:</b>
<a title="infos@madovsky.org" href="mailto:infos@madovsky.org" target="_blank">Madovsky</a>
</div>
<div style="font: 10pt arial;"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>
</div>
<div style="font: 10pt arial;"><b>Sent:</b> Wednesday, January 26, 2011 12:18
AM</div>
<div style="font: 10pt arial;"><b>Subject:</b> make phpmod and test.php</div>
<div><br></div>
<div><font size="2">after removed warn as errors and compile ESL.so</font></div>
<div><font size="2">and did on bash command</font></div>
<div><font size="2"></font> </div>
<div><font size="2">php test.php</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Parse error: syntax error, unexpected T_CLASS in
/home/src/freeswitch/libs/esl/php/ESL.php on line 30</font></div>
<div><font size="2"></font> </div>
<div><font size="2"></font> </div>
<div><font size="2">I just want to try to listen ESL events....
;)</font></div></blockquote></div></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>