3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "1$"; $cc = 1337; $bb=42; $k2 = "00000000000000000000000000000000000{$cc}$"; var_dump(strlen($k2) == $bb); var_dump(preg_match('/^\d+$/', $k2)); var_dump(!is_numeric($k2)); var_dump($k2 == $cc); $cc = '11111111111111111111111111'; var_dump(substr($cc, $bb)); var_dump(sha1($cc)); var_dump(sha1(1337)); $a = 1;
Output for git.master
bool(true) int(1) bool(true) bool(true) bool(false) string(40) "11bc9a0814014e1df6aa2a3ee70e46537a3ce6c9" string(40) "77ba9cd915c8e359d9733edcfe9c61e5aca92afb"
Output for git.master_jit
bool(true) int(1) bool(true) bool(false) string(0) "" string(40) "11bc9a0814014e1df6aa2a3ee70e46537a3ce6c9" string(40) "77ba9cd915c8e359d9733edcfe9c61e5aca92afb"

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:
13.36 ms | 410 KiB | 5 Q