Annotation of embedaddon/php/Zend/tests/errmsg_004.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: errmsg: can't use function return value in write context
                      3: --FILE--
                      4: <?php
                      5: 
                      6: function foo() {
                      7:        return "blah";
                      8: }
                      9: 
                     10: foo() = 1;
                     11: 
                     12: echo "Done\n";
                     13: ?>
                     14: --EXPECTF--    
                     15: Fatal error: Can't use function return value in write context in %s on line %d

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>