1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 05:21:02 +02:00
Files
archived-php-src/ext/standard/tests/serialize/bug74300.phpt
2017-03-23 22:06:46 +01:00

17 lines
302 B
PHP

--TEST--
Bug #74300 (unserialize() for float nvexp part)
--INI--
serialize_precision=10
--FILE--
<?php
var_dump(unserialize('d:2e+2;'));
var_dump(unserialize('d:2e++2;'));
?>
===DONE===
--EXPECTF--
float(200)
Notice: unserialize(): Error at offset 0 of 8 bytes in %s on line %d
bool(false)
===DONE===