3v4l.org

run code in 300+ PHP versions simultaneously
<?php $object = new \stdClass(); $object->currentMissionId = $this->currentMissionId; $object->currentMissionInitTs = $this->currentMissionInitTs; $object->quests = [ (object) ['id' => 1, 'points' => 5, 'claimed' => false] ]; $object->currentSubmissions = [ (object) [ 'id' => 1, 'purchasedPoints' => 1, 'points' => 5, 'currentPoolSize' => 40, 'lastProgressAddedAt' => 143576344], (object) [ 'id' => 2, 'purchasedPoints' => 1, 'points' => 5, 'currentPoolSize' => 40, 'lastProgressAddedAt' => 143576344], (object) [ 'id' => 3, 'purchasedPoints' => 1, 'points' => 5, 'currentPoolSize' => 40, 'lastProgressAddedAt' => 143576344], ]; var_dump($object);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Using $this when not in object context in /in/7EeJp:4 Stack trace: #0 {main} thrown in /in/7EeJp on line 4
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:
63.42 ms | 401 KiB | 8 Q