3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strings = [ 'dir1summary', 'dir10summary', 'dir1summarydue', 'dir10summarydue', 'directive1', 'directive10', 'directivecode1', 'directivecode10', ]; foreach ($strings as $string) { sscanf($string, '%[^0-9]%d%s', $dir, $num, $str); printf("%s%s%02d\n", str_pad($dir, 9, 'ective'), $str, $num); }
Output for git.master, git.master_jit, rfc.property-hooks
directivesummary01 directivesummary10 directivesummarydue01 directivesummarydue10 directivesummarydue01 directivesummarydue10 directivecodesummarydue01 directivecodesummarydue10

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:
28.02 ms | 405 KiB | 5 Q