3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = '/var/www/vb/frontend/web/img/up/bf9b12de5ea78cecacd3dde69f2a72f8/140/5982aff2432c4e1847306300b0bd7622/19/s.jpg'; var_dump(preg_match('/^(.*)\/img\/up\/(.*)\.jpg$/i', $s, $matches), $matches);
Output for git.master, git.master_jit, rfc.property-hooks
int(1) array(3) { [0]=> string(110) "/var/www/vb/frontend/web/img/up/bf9b12de5ea78cecacd3dde69f2a72f8/140/5982aff2432c4e1847306300b0bd7622/19/s.jpg" [1]=> string(24) "/var/www/vb/frontend/web" [2]=> string(74) "bf9b12de5ea78cecacd3dde69f2a72f8/140/5982aff2432c4e1847306300b0bd7622/19/s" }

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