3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "File:content/resources/11933/Calm_Nebula_by_The_Free_Mason.jpgDate:Fri Mar 18 11:30:17 CET 2016Size:23124"; $pattern = '/file:(.*?)date:(.*?)size:(.*)/i'; preg_match($pattern, $text, $out); print_r($out);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => File:content/resources/11933/Calm_Nebula_by_The_Free_Mason.jpgDate:Fri Mar 18 11:30:17 CET 2016Size:23124 [1] => content/resources/11933/Calm_Nebula_by_The_Free_Mason.jpg [2] => Fri Mar 18 11:30:17 CET 2016 [3] => 23124 )

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