Annotation of embedaddon/php/ext/spl/tests/SplTempFileObject_constructor_error.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: SPL SplTempFileObject constructor sets correct defaults when pass 0 arguments
                      3: --FILE--
                      4: <?php
                      5: new SplTempFileObject('invalid');
                      6: ?>
                      7: --EXPECTF--
                      8: Fatal error: Uncaught exception 'RuntimeException' with message 'SplTempFileObject::__construct() expects parameter 1 to be long, string given' in %s
                      9: Stack trace:
                     10: #0 %s: SplTempFileObject->__construct('invalid')
                     11: #1 {main}
                     12:   thrown in %s

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