3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Token { const EOF = -1; const TEXT = 0; const BLOCK_START = 1; const OUTPUT_START = 2; const BLOCK_END = 3; const OUTPUT_END = 4; const NAME = 5; const NUMBER = 6; const STRING = 7; const OPERATOR = 8; const CONSTANT = 9; } $token = new Token; print "everything is ok!";
Output for git.master, git.master_jit, rfc.property-hooks
everything is ok!

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