3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = "/^(.*)$/m"; $string = "the quick brown fox jumped over the lazy dog"; preg_match_all($pattern, $string, $match); var_dump($match);
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [0]=> array(5) { [0]=> string(9) "the quick" [1]=> string(9) "brown fox" [2]=> string(11) "jumped over" [3]=> string(8) "the lazy" [4]=> string(3) "dog" } [1]=> array(5) { [0]=> string(9) "the quick" [1]=> string(9) "brown fox" [2]=> string(11) "jumped over" [3]=> string(8) "the lazy" [4]=> string(3) "dog" } }

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