3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php params = array('limit' => -1); $limit = av('limit', $params, 25); for($i = 0; $i < 100; $i++) { $data[$i] = array( 'uid' => $i, 'userid' => 'extrauser' . $i ); } asort($data); print_r(array_slice($data, $start, $limit));
Output for 5.3.0 - 5.4.13
Parse error: syntax error, unexpected '=' in /in/OssOW on line 2
Process exited with code 255.