From: Michael Wallner Date: Wed, 9 Jul 2014 18:19:06 +0000 (+0200) Subject: addcslashes seems to use the octal form to escape nils X-Git-Tag: RELEASE_2_1_0_RC1~28 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=fad3e6cf16fc471895b8016325098079450925e5;p=m6w6%2Fext-http addcslashes seems to use the octal form to escape nils --- diff --git a/tests/params006.phpt b/tests/params006.phpt index 5c6455c..f0f0565 100644 --- a/tests/params006.phpt +++ b/tests/params006.phpt @@ -19,7 +19,7 @@ $c = array( ) ); var_dump($c === $p->params); -var_dump("form-data;name=upload;filename=\"trick\\\"\\0\\\"ed\"" === (string) $p); +var_dump("form-data;name=upload;filename=\"trick\\\"\\000\\\"ed\"" === (string) $p); ?> DONE --EXPECT--