3v4l.org

run code in 300+ PHP versions simultaneously
<?php $structure = array( 'id' => 11231, 'message' => "Hello!", 'num_str' => "3", 'num_int' => 3, 'num_float' => 3.0, 'num_big' => 2123123154123341223341562341238712389712331123231123123123121331231, ); var_dump(json_encode($structure, JSON_PRETTY_PRINT));
Output for git.master, git.master_jit, rfc.property-hooks
string(140) "{ "id": 11231, "message": "Hello!", "num_str": "3", "num_int": 3, "num_float": 3, "num_big": 2.123123154123341e+66 }"

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
53.44 ms | 401 KiB | 8 Q