Yes, it uses the class abstraction which was introduced in PHP5 (http://php.net/manual/en/language.oop5.abstract.php)

Try upgrading to PHP5.

-Steve


On 26 January 2011 05:26, Madovsky <infos@madovsky.org> wrote:
Seems that ESL.php is for PHP5 only ?
----- Original Message -----
From: Madovsky
Sent: Wednesday, January 26, 2011 12:18 AM
Subject: make phpmod and test.php

after removed warn as errors and compile ESL.so
and did on bash command
 
php test.php
 
Parse error: syntax error, unexpected T_CLASS in /home/src/freeswitch/libs/esl/php/ESL.php on line 30
 
 
I just want to try to listen ESL events.... ;)

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org