3v4l.org

run code in 500+ PHP versions simultaneously
<?php class ReplacementArray { private $data; public function __construct( $data ) { $this->data = $data; } } $o = new ReplacementArray( [ 1 ] ); var_export( serialize( $o ) );
Output for git.master_jit, git.master
'O:16:"ReplacementArray":1:{s:22:"' . "\0" . 'ReplacementArray' . "\0" . 'data";a:1:{i:0;i:1;}}'

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.34 ms | 604 KiB | 4 Q