3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stats_goto = array ( 'OR2016' => array ( 'goto' => 'OR2016/amuzurovic1.stats', ), 0 => array ( 'events' => array ( '' => NULL, 0 => array ( 'time' => 1476052585, 'text' => 'modified', 'diff' => array ( 'remove_lines' => array ( 1 => 'Thu Oct 13 17:42:12 CEST 2016', 2 => '#define PI 3.14', 3 => false, 4 => 'int main() {', 5 => ' ', 6 => ' float R, V, P, S;', 7 => ' printf("Unesite poluprecnik: ");', 8 => ' scanf("%f", &R);', 9 => ' ', 10 => ' P=R*R*PI;', 11 => ' V=(4./3)*R*R*R*PI;', 12 => ' S=4*R*R*PI;', 13 => ' ', 14 => ' printf("\\n Povrsina kruga sa poluprecnikom %.2f je %.2f", R,P);', 15 => ' printf("\\n Zapremina kugle sa poluprecnikom %.2f je %.2f", R,V);', 16 => ' printf("\\n Povrsina lopte sa poluprecnikom %.2f je %.2f", R,S);', 17 => ' ', 18 => ' return 0;', 19 => '}', 20 => ' V=V1+V2;', 21 => ' ', 22 => ' printf("\\nPovrsina tijela sa slike je %.2f",P);', 23 => ' printf("\\nZapremina tijela sa slike je %.2f",V);', 24 => ' ', 25 => ' return 0;', 26 => '}', ), 'add_lines' => array ( 1 => 'Tue May 17 13:35:16 CEST 2016', ), ), ), ), 'last_revision' => 1, ), ); echo($stats_goto['0']);
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
Warning: Array to string conversion in /in/8brk5 on line 57 Array
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Warning: Array to string conversion in /in/8brk5 on line 57 Array
Output for 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
Notice: Array to string conversion in /in/8brk5 on line 57 Array
Output for 7.3.32 - 7.3.33
Array

preferences:
234.07 ms | 401 KiB | 287 Q