From bd961f3e873f71c1408111da065d94cd0c6527d9 Mon Sep 17 00:00:00 2001 From: Ferenc Kovacs Date: Thu, 27 Feb 2014 02:31:42 +0100 Subject: [PATCH] fix tests broken by 633f898f1520253d3530fe91fc82f68bca7c4627 --- .../tests/ReflectionClass_getStaticPropertyValue_001_2_4.phpt | 2 +- .../tests/ReflectionClass_setStaticPropertyValue_001_2_4.phpt | 2 +- ext/spl/tests/bug54291.phpt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/reflection/tests/ReflectionClass_getStaticPropertyValue_001_2_4.phpt b/ext/reflection/tests/ReflectionClass_getStaticPropertyValue_001_2_4.phpt index c299412e131..8bb62d95f1d 100644 --- a/ext/reflection/tests/ReflectionClass_getStaticPropertyValue_001_2_4.phpt +++ b/ext/reflection/tests/ReflectionClass_getStaticPropertyValue_001_2_4.phpt @@ -56,6 +56,6 @@ string(13) "default value" Fatal error: Uncaught exception 'ReflectionException' with message 'Class A does not have a property named ' in %sReflectionClass_getStaticPropertyValue_001_2_4.php:%d Stack trace: -#0 %sReflectionClass_getStaticPropertyValue_001_2_4.php(%d): ReflectionClass->getStaticPropertyValue('?A?privateOverr...') +#0 %sReflectionClass_getStaticPropertyValue_001_2_4.php(%d): ReflectionClass->getStaticPropertyValue('\x00A\x00privateOverr...') #1 {main} thrown in %sReflectionClass_getStaticPropertyValue_001_2_4.php on line %d diff --git a/ext/reflection/tests/ReflectionClass_setStaticPropertyValue_001_2_4.phpt b/ext/reflection/tests/ReflectionClass_setStaticPropertyValue_001_2_4.phpt index 1092f6553d9..dc13bf562dd 100644 --- a/ext/reflection/tests/ReflectionClass_setStaticPropertyValue_001_2_4.phpt +++ b/ext/reflection/tests/ReflectionClass_setStaticPropertyValue_001_2_4.phpt @@ -56,6 +56,6 @@ Set static values in A: Fatal error: Uncaught exception 'ReflectionException' with message 'Class A does not have a property named ' in %sReflectionClass_setStaticPropertyValue_001_2_4.php:%d Stack trace: -#0 %sReflectionClass_setStaticPropertyValue_001_2_4.php(%d): ReflectionClass->setStaticPropertyValue('?A?privateOverr...', 'new value 1') +#0 %sReflectionClass_setStaticPropertyValue_001_2_4.php(%d): ReflectionClass->setStaticPropertyValue('\x00A\x00privateOverr...', 'new value 1') #1 {main} thrown in %sReflectionClass_setStaticPropertyValue_001_2_4.php on line %d diff --git a/ext/spl/tests/bug54291.phpt b/ext/spl/tests/bug54291.phpt index b8f596e02c7..9314b6b9ff4 100644 --- a/ext/spl/tests/bug54291.phpt +++ b/ext/spl/tests/bug54291.phpt @@ -7,7 +7,7 @@ $dir->isFile(); --EXPECTF-- Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Failed to open directory ""' in %s:%d Stack trace: -#0 %s(%d): DirectoryIterator->__construct('?/abc') +#0 %s(%d): DirectoryIterator->__construct('\x00/abc') #1 {main} thrown in %s on line %d