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.... ;)