From: Dmitry Stogov Date: Wed, 2 Mar 2016 10:01:42 +0000 (+0300) Subject: Fixed test (sizeof(zend_string) is different on 32 and 64-bit systems) X-Git-Tag: php-7.0.5RC1~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=afedd4fd59afa73ebebb46caf6ddfa8aa338bea6;p=php Fixed test (sizeof(zend_string) is different on 32 and 64-bit systems) --- diff --git a/ext/standard/tests/strings/str_pad_variation5.phpt b/ext/standard/tests/strings/str_pad_variation5.phpt index d050ae80e8..f1f47b932c 100644 --- a/ext/standard/tests/strings/str_pad_variation5.phpt +++ b/ext/standard/tests/strings/str_pad_variation5.phpt @@ -31,4 +31,4 @@ var_dump( str_pad($input, $pad_length) ); --EXPECTF-- *** Testing str_pad() function: with large value for for 'pad_length' argument *** -Fatal error: Allowed memory size of 134217728 bytes exhausted%s(tried to allocate 2147483648 bytes) in %s on line %d +Fatal error: Allowed memory size of 134217728 bytes exhausted%s(tried to allocate %d bytes) in %s on line %d