3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = 'a, modern php framework.= is a must 1234'; $output = preg_replace('/[^a-zA-z\d]/', '_', $value); $put = preg_replace('/_?/', '_', $output); echo $put;
Output for git.master, git.master_jit, rfc.property-hooks
_a___m_o_d_e_r_n__p_h_p__f_r_a_m_e_w_o_r_k____i_s__a__m_u_s_t__1_2_3_4_

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