3v4l.org

run code in 300+ PHP versions simultaneously
<?php function random8CharString() { $chars = "abcdefghijkmnopqrstuvwxyz023456789"; srand((double) microtime() * 1000000); $pass = ''; for ($i = 0; $i <= 7; ++$i) { $pass .= $chars[rand() % 33]; } return $pass; } echo random8CharString();
Output for git.master
5iruria5
Output for git.master_jit
pwp2638j
Output for rfc.property-hooks
kabpgtqq

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