3v4l.org

run code in 300+ PHP versions simultaneously
<?php $money = new userStats($db, $_SESSION['uid']); $upgrades = new upgrades($db, $_SESSION['uid']); $credits = $money->balance; $energy = $money->energy; $fuel = $money->fuel; $upgrade = $upgrades->parseXML(); echo json_encode( array( "fuel" => $fuel, "energy" => $energy, "credits" => $credits, "upgrades" => $upgrade ) ); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Class "userStats" not found in /in/GrRDZ:2 Stack trace: #0 {main} thrown in /in/GrRDZ on line 2
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.79 ms | 401 KiB | 8 Q