3v4l.org

run code in 500+ PHP versions simultaneously
<?php $tests = [ '234534_45_92374', '3433_9458_034857', 'zx_8458_047346daf', ]; foreach ($tests as $test) { preg_match('/_\K\d+/', $test, $match); var_export($match[0]); echo "\t"; sscanf($test, '%*[^_]_%d', $integer); var_export($integer); echo "\n"; }
Output for git.master, git.master_jit
/bin/php-git-master: error while loading shared libraries: libonig.so.5: cannot open shared object file: No such file or directory
Process exited with code 127.
Output for rfc.property-hooks
'45' 45 '9458' 9458 '8458' 8458

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:
73.22 ms | 1102 KiB | 4 Q