3v4l.org

run code in 200+ PHP versions simultaneously
<?php echo json_encode(['succeed' => 0, 'error_code' => 222, 'error_desc' => 111, 'data' => ['order_number'=>123]]);
based on S8Pm5
Output for 7.1.25 - 7.4.0rc2
{"succeed":0,"error_code":222,"error_desc":111,"data":{"order_number":123}}