3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = [ 'account_id' => 12345, 'created_at' => '2018-10-31 09:30:00.000000', 'customer_id' => 23456, 'originator' => 'MessageBird', 'is_ported' => true, 'body' => base64_encode("Contents \xF0\x9F\x98\x83"), ]; $json = json_encode($data); var_dump($json);
Output for git.master_jit, git.master, rfc.property-hooks
string(156) "{"account_id":12345,"created_at":"2018-10-31 09:30:00.000000","customer_id":23456,"originator":"MessageBird","is_ported":true,"body":"Q29udGVudHMg8J+Ygw=="}"

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:
59.22 ms | 401 KiB | 8 Q