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;

preferences:
9.39 ms | 411 KiB | 5 Q