3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = '/var/www/vb/frontend/web/img/up/bf9b12de5ea78cecacd3dde69f2a72f8/676/6dc6c807e1cef2ba8af8e422abe77286/5/l.jpg'; var_dump( preg_match_all('/(.*)\/img\/up\/(.*).jpg/', $s, $matches), $matches );
Output for git.master, git.master_jit, rfc.property-hooks
int(1) array(3) { [0]=> array(1) { [0]=> string(109) "/var/www/vb/frontend/web/img/up/bf9b12de5ea78cecacd3dde69f2a72f8/676/6dc6c807e1cef2ba8af8e422abe77286/5/l.jpg" } [1]=> array(1) { [0]=> string(24) "/var/www/vb/frontend/web" } [2]=> array(1) { [0]=> string(73) "bf9b12de5ea78cecacd3dde69f2a72f8/676/6dc6c807e1cef2ba8af8e422abe77286/5/l" } }

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:
41.32 ms | 402 KiB | 8 Q