3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'dahazd %class% aiojdzn %attr% oij da %attr% eoijfze %attr% oizejj %class% iojzjf %class% oi oj%class%'; preg_match_all('/\%\w+\%/', $str, $data); var_dump($data); // preg_replace('', '', $str);
Output for git.master, git.master_jit, rfc.property-hooks
array(1) { [0]=> array(7) { [0]=> string(7) "%class%" [1]=> string(6) "%attr%" [2]=> string(6) "%attr%" [3]=> string(6) "%attr%" [4]=> string(7) "%class%" [5]=> string(7) "%class%" [6]=> string(7) "%class%" } }

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