xref: /PHP-7.4/ext/json/tests/bug64695.phpt (revision 591dbcab)
1--TEST--
2Bug #64695 JSON_NUMERIC_CHECK has issues with strings that are numbers plus the letter e
3--SKIPIF--
4<?php if (!extension_loaded("json")) print "skip"; ?>
5--FILE--
6<?php
7$t = array('test' => '123343e871700');
8var_dump(json_encode($t, JSON_NUMERIC_CHECK));
9
10echo "Done\n";
11?>
12--EXPECT--
13string(24) "{"test":"123343e871700"}"
14Done
15