3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Wakeup { public $b; public $e; function __construct() { $this->b = new B; $this->e = new E; } } class B { function __wakeup() { echo 'B::__wakeup'; // throw new ReactException; // throw new ReactExceptionB; } } class D { } class E extends D { function __wakeup() { echo 'E::__wakeup'; } } unserialize('O:6:"Wakeup":2:{s:1:"b";O:1:"B":0:{}s:1:"e";O:1:"E":0:{}}');
Output for git.master, git.master_jit, rfc.property-hooks
B::__wakeupE::__wakeup

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