3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'Hello_world!'; $chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789/-'; $max = strlen($chars) - 1; echo preg_replace_callback( '/.\K/', fn() => $chars[rand(0, $max)], $str );
Output for git.master
Hceilfl5oS_ewTouralKdZ!p
Output for git.master_jit
Hoehlnlhox_MwuoZr5lHdM!L
Output for rfc.property-hooks
HMetlVlBoi_PwOozrDlbdV!x

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:
24.65 ms | 407 KiB | 5 Q