mirror of
https://github.com/php/php-src.git
synced 2024-09-29 05:46:06 +00:00
15 lines
337 B
PHP
15 lines
337 B
PHP
--TEST--
|
|
Bug #64695 JSON_NUMERIC_CHECK has issues with strings that are numbers plus the letter e
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("json")) print "skip"; ?>
|
|
--FILE--
|
|
<?php
|
|
$t = array('test' => '123343e871700');
|
|
var_dump(json_encode($t, JSON_NUMERIC_CHECK));
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECT--
|
|
string(24) "{"test":"123343e871700"}"
|
|
Done
|