com php-src: Fixed test (sizeof(zend_string) is dif ferent on 32 and 64-bit systems): ext/s tandard/tests/strings/str_pad_variation5.phpt

From: Date: Wed, 02 Mar 2016 10:01:42 +0000
Subject: com php-src: Fixed test (sizeof(zend_string) is dif ferent on 32 and 64-bit systems): ext/s tandard/tests/strings/str_pad_variation5.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-91247@lists.php.net to get a copy of this message
Commit: afedd4fd59afa73ebebb46caf6ddfa8aa338bea6 Author: Dmitry Stogov <dmitry@zend.com> Wed, 2 Mar 2016 13:01:42 +0300 Parents: ab800642df3e66bdc00b433234a4e38c156b731c Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=afedd4fd59afa73ebebb46caf6ddfa8aa338bea6 Log: Fixed test (sizeof(zend_string) is different on 32 and 64-bit systems) Changed paths: M ext/standard/tests/strings/str_pad_variation5.phpt Diff: diff --git a/ext/standard/tests/strings/str_pad_variation5.phpt b/ext/standard/tests/strings/str_pad_variation5.phpt index d050ae8..f1f47b9 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

« previous php.cvs (#91247) next »