Menu

phpagi-2.14 broken with php v5.3.0?

gpenguin
2009-08-06
2013-04-29
  • gpenguin

    gpenguin - 2009-08-06

    Hi all

    phpagi.php (v2.14) seems to cause a PHP parse error when run with 5.3.0.

    Error is:

    PHP Parse error:  syntax error, unexpected T_GOTO, expecting T_STRING in /var/lib/asterisk/agi-bin/phpagi.php on line 1184

    The same script works fine with php 5.2.9.

    I think the problem is that php 5.3.0 introduced a "goto" operator which is clashing with the user defined goto function in phpagi.php

     
  • Matthew Asham

    Matthew Asham - 2010-09-17

    this is fixed in trunk

     

Log in to post a comment.