3v4l.org

run code in 200+ PHP versions simultaneously
<?php echo json_encode(array(1=>2,3=>'4'),JSON_NUMERIC_CHECK); echo json_encode(array(1=>2,3=>'4'));