3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { private $bar = 42; } $s = serialize(new Foo); var_dump($s); var_dump(urlencode($s));
Output for git.master, git.master_jit, rfc.property-hooks
string(34) "O:3:"Foo":1:{s:8:"Foobar";i:42;}" string(68) "O%3A3%3A%22Foo%22%3A1%3A%7Bs%3A8%3A%22%00Foo%00bar%22%3Bi%3A42%3B%7D"

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:
29.21 ms | 405 KiB | 5 Q