diff options
Diffstat (limited to 'ext/spl/tests/SplTempFileObject_constructor_error.phpt')
-rw-r--r-- | ext/spl/tests/SplTempFileObject_constructor_error.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/tests/SplTempFileObject_constructor_error.phpt b/ext/spl/tests/SplTempFileObject_constructor_error.phpt index d2717ac5ae..a6c71717b5 100644 --- a/ext/spl/tests/SplTempFileObject_constructor_error.phpt +++ b/ext/spl/tests/SplTempFileObject_constructor_error.phpt @@ -5,7 +5,7 @@ SPL SplTempFileObject constructor sets correct defaults when pass 0 arguments new SplTempFileObject('invalid'); ?> --EXPECTF-- -Fatal error: Uncaught exception 'RuntimeException' with message 'SplTempFileObject::__construct() expects parameter 1 to be long, string given' in %s +Fatal error: Uncaught exception 'RuntimeException' with message 'SplTempFileObject::__construct() expects parameter 1 to be integer, string given' in %s Stack trace: #0 %s: SplTempFileObject->__construct('invalid') #1 {main} |