<?php
$array= array('1','2','3','4','5','6');
echo rand($array) limit 1;
- Output for 5.4.0 - 5.4.28
- Parse error: syntax error, unexpected 'limit' (T_STRING), expecting ',' or ';' in /in/FnrTr on line 3
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /in/FnrTr on line 3
Process exited with code 255.
preferences:
189.91 ms | 1395 KiB | 65 Q