3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo json_encode([ "id" => $user->id, "trial" => $trial, "expires" => $time_left, "devices" => [ "current" => (int)$count, "max" => 6 ], "referral_url" => $this->MakeUserReferralUrl($user->id), "settings" => $settings, "ip_address" => $ip, "latitude" => $latitude, "longitude" => $longitude, "country_code" => $countryCode, ]);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $user in /in/flBZs on line 4 Warning: Attempt to read property "id" on null in /in/flBZs on line 4 Warning: Undefined variable $trial in /in/flBZs on line 5 Warning: Undefined variable $time_left in /in/flBZs on line 6 Warning: Undefined variable $count in /in/flBZs on line 8 Fatal error: Uncaught Error: Using $this when not in object context in /in/flBZs:11 Stack trace: #0 {main} thrown in /in/flBZs on line 11
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:
32.17 ms | 402 KiB | 8 Q