php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #54719
Patch php-fix-serialize-tests.diff revision 2011-05-12 11:23 UTC by mats dot lindh at gmail dot com

Patch php-fix-serialize-tests.diff for Unknown/Other Function Bug #54719

Patch version 2011-05-12 11:23 UTC

Return to Bug #54719 | Download this patch
Patch Revisions:

Developer: mats.lindh@gmail.com

Index: ext/standard/tests/serialize/serialization_objects_001.phpt
===================================================================
--- ext/standard/tests/serialize/serialization_objects_001.phpt	(revision 310963)
+++ ext/standard/tests/serialize/serialization_objects_001.phpt	(working copy)
@@ -1,5 +1,7 @@
 --TEST--
 Test serialize() & unserialize() functions: objects
+--INI--
+serialize_precision=100
 --FILE--
 <?php 
 /* Prototype  : proto string serialize(mixed variable)
Index: ext/standard/tests/serialize/serialization_objects_003.phpt
===================================================================
--- ext/standard/tests/serialize/serialization_objects_003.phpt	(revision 310963)
+++ ext/standard/tests/serialize/serialization_objects_003.phpt	(working copy)
@@ -1,5 +1,7 @@
 --TEST--
 Test serialize() & unserialize() functions: objects (abstract classes)
+--INI--
+serialize_precision=100
 --FILE--
 <?php 
 /* Prototype  : proto string serialize(mixed variable)
@@ -64,4 +66,4 @@
 string(18) "s:10:"extendName";"
 string(10) "extendName"
 
-Done
\ No newline at end of file
+Done
Index: ext/standard/tests/serialize/001.phpt
===================================================================
--- ext/standard/tests/serialize/001.phpt	(revision 310963)
+++ ext/standard/tests/serialize/001.phpt	(working copy)
@@ -1,5 +1,7 @@
 --TEST--
 serialize()/unserialize()/var_dump()
+--INI--
+serialize_precision=100
 --FILE--
 <?php 
 class t
Index: ext/standard/tests/serialize/serialization_objects_002.phpt
===================================================================
--- ext/standard/tests/serialize/serialization_objects_002.phpt	(revision 310963)
+++ ext/standard/tests/serialize/serialization_objects_002.phpt	(working copy)
@@ -1,5 +1,7 @@
 --TEST--
 Test serialize() & unserialize() functions: objects (variations)
+--INI--
+serialize_precision=100
 --FILE--
 <?php 
 /* Prototype  : proto string serialize(mixed variable)
@@ -319,4 +321,4 @@
   NULL
 }
 
-Done
\ No newline at end of file
+Done
Index: ext/standard/tests/serialize/serialization_arrays_001.phpt
===================================================================
--- ext/standard/tests/serialize/serialization_arrays_001.phpt	(revision 310963)
+++ ext/standard/tests/serialize/serialization_arrays_001.phpt	(working copy)
@@ -1,5 +1,7 @@
 --TEST--
 Test serialize() & unserialize() functions: arrays (circular references)
+--INI--
+serialize_precision=100
 --FILE--
 <?php 
 /* Prototype  : proto string serialize(mixed variable)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 12:01:30 2024 UTC