diff options
| author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-02-25 20:58:33 +0100 |
|---|---|---|
| committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-02-26 15:00:08 +0100 |
| commit | 960318ed95d17bd30c2896e2f3189ebffb965dce (patch) | |
| tree | 2890972c266dabe649a44b540869a49e41a3e450 /ext/libxml/tests | |
| parent | c7094d892639fedffb67c273f8fd44f3ffff86d6 (diff) | |
| download | php-git-960318ed95d17bd30c2896e2f3189ebffb965dce.tar.gz | |
Change argument error message format
Closes GH-5211
Diffstat (limited to 'ext/libxml/tests')
| -rw-r--r-- | ext/libxml/tests/004.phpt | 10 | ||||
| -rw-r--r-- | ext/libxml/tests/bug63389.phpt | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ext/libxml/tests/004.phpt b/ext/libxml/tests/004.phpt index ad05ca1b9f..93c3c497a2 100644 --- a/ext/libxml/tests/004.phpt +++ b/ext/libxml/tests/004.phpt @@ -28,15 +28,15 @@ echo "Done\n"; ?> --EXPECT-- -libxml_set_streams_context() expects argument #1 ($context) to be of type resource, null given +libxml_set_streams_context(): Argument #1 ($context) must be of type resource, null given bool(true) -libxml_set_streams_context() expects argument #1 ($context) to be of type resource, string given +libxml_set_streams_context(): Argument #1 ($context) must be of type resource, string given bool(true) -libxml_set_streams_context() expects argument #1 ($context) to be of type resource, int given +libxml_set_streams_context(): Argument #1 ($context) must be of type resource, int given bool(true) -libxml_set_streams_context() expects argument #1 ($context) to be of type resource, object given +libxml_set_streams_context(): Argument #1 ($context) must be of type resource, object given bool(true) -libxml_set_streams_context() expects argument #1 ($context) to be of type resource, array given +libxml_set_streams_context(): Argument #1 ($context) must be of type resource, array given bool(true) NULL bool(true) diff --git a/ext/libxml/tests/bug63389.phpt b/ext/libxml/tests/bug63389.phpt index 12b3a032a5..88fce5d115 100644 --- a/ext/libxml/tests/bug63389.phpt +++ b/ext/libxml/tests/bug63389.phpt @@ -14,5 +14,5 @@ try { echo "okey"; ?> --EXPECT-- -libxml_set_streams_context() expects argument #1 ($context) to be of type resource, string given +libxml_set_streams_context(): Argument #1 ($context) must be of type resource, string given okey |
