3v4l.org

run code in 300+ PHP versions simultaneously
<?php $base= new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z","a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"); $var data=new Array(3); $base.reverse(); data[0]=base[42]; data[1]=base[11]; data[2]=base[17]; data[3]=base[12]; data[4]=base[7]; data[5]=base[43]; data[6]=base[6]; echo data.join("_"); echo $password ?>
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected 'Array' (T_ARRAY) in /in/tRLeO on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_ARRAY in /in/tRLeO on line 2
Process exited with code 255.

preferences:
193.05 ms | 1395 KiB | 62 Q