3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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']['0']);
based on 8brk5
Output for 5.6.30, 7.0.30 - 7.3.0alpha1
Notice: Undefined offset: 0 in /in/3TjjO on line 57
Output for hhvm-3.22.0
Notice: Undefined index: 0 in /in/3TjjO on line -1
Output for hhvm-3.18.5 - 3.21.3
Notice: Undefined index: 0 in /in/3TjjO on line 57