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