Donate Share

phpagi

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

phpagi-2.14 broken with php v5.3.0?

You are viewing a single message from this topic. View all messages.

  1. 2009-08-06 09:30:56 UTC
    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
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.