3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tests = [ '7hello', 'Fooey', 'Shoo3y', 'Whoa!', 'A1_B2_C3_', '_ABC', 'UB40', 'omg', 'Hi_', 'Stackoverflow_', ]; foreach ($tests as $test) { printf( "%s : %s\n", $test, preg_match('/^(?:[a-z]\w*){3}$/i', $test) ? 'pass' : 'fail' ); }
Output for rfc.property-hooks, git.master, git.master_jit
7hello : fail Fooey : pass Shoo3y : pass Whoa! : fail A1_B2_C3_ : pass _ABC : fail UB40 : fail omg : pass Hi_ : fail Stackoverflow_ : pass

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:
47.63 ms | 1120 KiB | 4 Q