3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pass = "adeabecc"; $xor = "12341234"; $spass = str_split($pass); $sxor = str_split($xor); for ($i = 0; $i <= 7; $i++) { echo $spass[$i]^$sxor[$i]; } echo "a" ^ 1; echo "d" ^ 2; echo "e" ^ 3; echo "a" ^ 4; echo "b" ^ 1; echo "e" ^ 2; echo "c" ^ 3; echo "c" ^ 4;
based on jvU4E
Output for 7.1.0 - 7.2.0
PVVUSWPW Warning: A non-numeric value encountered in /in/JIjuu on line 13 1 Warning: A non-numeric value encountered in /in/JIjuu on line 14 2 Warning: A non-numeric value encountered in /in/JIjuu on line 15 3 Warning: A non-numeric value encountered in /in/JIjuu on line 16 4 Warning: A non-numeric value encountered in /in/JIjuu on line 17 1 Warning: A non-numeric value encountered in /in/JIjuu on line 18 2 Warning: A non-numeric value encountered in /in/JIjuu on line 19 3 Warning: A non-numeric value encountered in /in/JIjuu on line 20 4
Output for 5.5.0 - 7.0.20
PVVUSWPW12341234