3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = ' ;Head admins "Username" "Password" "abcdefghijk" "ab" "Username2" "Password2" "abcdehl" "ab" ;Admins "Admin" "Password" "abcd" "ab" '; $arr = explode("\n;", $str); foreach($arr as $section){ $lines = explode("\n", $section); array_shift($lines); foreach($lines as $line) print $lines; } ?>
Output for 5.5.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Array to string conversion in /in/vRqWX on line 17 Array Notice: Array to string conversion in /in/vRqWX on line 17 Array Notice: Array to string conversion in /in/vRqWX on line 17 Array Notice: Array to string conversion in /in/vRqWX on line 17 Array Notice: Array to string conversion in /in/vRqWX on line 17 Array
Output for 4.3.0 - 5.4.45
ArrayArrayArrayArrayArray