3v4l.org

run code in 500+ PHP versions simultaneously
<?php class UserPref { public $theme; public $lang; } $soap = new SoapClient(null, [ 'location' => 'http://127.0.0.1/flag', 'uri' => 'http://example.com' ]); $obj = new UserPref(); $obj->theme = $soap; $obj->lang = 'test'; echo base64_encode(serialize($obj)); ?>
Output for git.master_jit, git.master
Fatal error: Uncaught Error: Class "SoapClient" not found in /in/ehFlL:7 Stack trace: #0 {main} thrown in /in/ehFlL on line 7
Process exited with code 255.

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:
51.76 ms | 755 KiB | 4 Q