Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- Bug #74300 (unserialize() for float nvexp part) --INI-- serialize_precision=10 --..

Decoded Output download

--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;'));
?>
--EXPECTF--
float(200)

Notice: unserialize(): Error at offset 0 of 8 bytes in %s on line %d
bool(false)

Did this file decode correctly?

Original Code

--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;'));
?>
--EXPECTF--
float(200)

Notice: unserialize(): Error at offset 0 of 8 bytes in %s on line %d
bool(false)

Function Calls

unserialize 1

Variables

None

Stats

MD5 afff4577111c67f080a2045e4bca60b1
Eval Count 0
Decode Time 85 ms