1--TEST-- 2Bug #24063 (serialize() missing 0 after the . on scientific notation) 3--INI-- 4serialize_precision=100 5precision=12 6--FILE-- 7<?php 8$v = 1; 9for ($i = 1; $i < 10; $i++) { 10 $v /= 10; 11 echo "{$v} ".unserialize(serialize($v))."\n"; 12} 13?> 14--EXPECT-- 150.1 0.1 160.01 0.01 170.001 0.001 180.0001 0.0001 191.0E-5 1.0E-5 201.0E-6 1.0E-6 211.0E-7 1.0E-7 221.0E-8 1.0E-8 231.0E-9 1.0E-9 24