3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = array(); $param_string = "CREATED_AT > TO_DATE(:delete_date, 'DD/MM/YYYY HH24:MI:SS') AND"; $regex = '/[^A-Za-z]:\b([^\s:]+)\b[^:]/i'; $repl = '\1'; $param = preg_replace($regex, $repl, $param_string); print "$param\n"; $param = preg_match($regex, $param_string, $matches); print_r($matches);
Output for git.master, git.master_jit, rfc.property-hooks
CREATED_AT > TO_DATEdelete_date 'DD/MM/YYYY HH24:MI:SS') AND Array ( [0] => (:delete_date, [1] => delete_date )

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:
74.08 ms | 401 KiB | 8 Q