3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a0="[{\"vytid\": \"USjPI3pLXlQ\",\"vtime\": \":\",\"vname\": \"T\u1eadp 1 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 0,\"vview\": 891954},{\"vytid\": \"TNKSOp6diDo\",\"vtime\": \":\",\"vname\": \"T\u1eadp 2 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 1,\"vview\": 819192},{\"vytid\": \"FNyK3VMk3Lc\",\"vtime\": \":\",\"vname\": \"T\u1eadp 3 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 2,\"vview\": 574955},{\"vytid\": \"L783xTI01wQ\",\"vtime\": \":\",\"vname\": \"T\u1eadp 4 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 3,\"vview\": 517734},{\"vytid\": \"bxuTfQscq_8\",\"vtime\": \":\",\"vname\": \"T\u1eadp 5 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 4,\"vview\": 516287}]"; $a1="[{\"vytid\": \"7SSsj0IORRQ\",\"vtime\": \":\",\"vname\": \"T\u1eadp 6 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 5,\"vview\": 112388},{\"vytid\": \"EkHmo3v_7h8\",\"vtime\": \":\",\"vname\": \"T\u1eadp 7 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 6,\"vview\": 812861},{\"vytid\": \"qSxVf6Se7ps\",\"vtime\": \":\",\"vname\": \"T\u1eadp 8 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 7,\"vview\": 429790},{\"vytid\": \"cW8IryXdzGk\",\"vtime\": \":\",\"vname\": \"T\u1eadp 9 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 8,\"vview\": 204984},{\"vytid\": \"5QYV2_vW-vc\",\"vtime\": \":\",\"vname\": \"T\u1eadp 10 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 9,\"vview\": 690173}]"; $a2="[{\"vytid\": \"aBpw8gJBD9M\",\"vtime\": \":\",\"vname\": \"T\u1eadp 11 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 10,\"vview\": 893250},{\"vytid\": \"rkqNtuCKocE\",\"vtime\": \":\",\"vname\": \"T\u1eadp 12 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 11,\"vview\": 130580},{\"vytid\": \"vE2rmsGKibo\",\"vtime\": \":\",\"vname\": \"T\u1eadp 13 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 12,\"vview\": 730555},{\"vytid\": \"oUZ2dK93FuA\",\"vtime\": \":\",\"vname\": \"T\u1eadp 14 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 13,\"vview\": 357841},{\"vytid\": \"90yjf9vs1mU\",\"vtime\": \":\",\"vname\": \"T\u1eadp 15 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 14,\"vview\": 657944}]"; $a3="[{\"vytid\": \"grPkS2xrGIk\",\"vtime\": \":\",\"vname\": \"T\u1eadp 16 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 15,\"vview\": 262781},{\"vytid\": \"6wJfV1dP7gw\",\"vtime\": \":\",\"vname\": \"T\u1eadp 17 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 16,\"vview\": 678600},{\"vytid\": \"jw-IaB_Iw6I\",\"vtime\": \":\",\"vname\": \"T\u1eadp 18 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 17,\"vview\": 197313},{\"vytid\": \"5u3C9sCpYZs\",\"vtime\": \":\",\"vname\": \"T\u1eadp 19 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 18,\"vview\": 835071},{\"vytid\": \"wmh5ibibuDA\",\"vtime\": \":\",\"vname\": \"T\u1eadp 20 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 19,\"vview\": 479944}]"; $a4="[{\"vytid\": \"XezJUToW1D4\",\"vtime\": \":\",\"vname\": \"T\u1eadp 21 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 20,\"vview\": 646283},{\"vytid\": \"n24tkL3ZCY4\",\"vtime\": \":\",\"vname\": \"T\u1eadp 22 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 21,\"vview\": 740242},{\"vytid\": \"-QegXJ02Lk0\",\"vtime\": \":\",\"vname\": \"T\u1eadp 23 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 22,\"vview\": 676078},{\"vytid\": \"dYM6kWoNE3o\",\"vtime\": \":\",\"vname\": \"T\u1eadp 24 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 23,\"vview\": 389976},{\"vytid\": \"3KzJf0ddioI\",\"vtime\": \":\",\"vname\": \"T\u1eadp 25 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 24,\"vview\": 773256}]"; $a5="[{\"vytid\": \"Uv9hrBe3T2c\",\"vtime\": \":\",\"vname\": \"T\u1eadp 26 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 25,\"vview\": 390185},{\"vytid\": \"bJlNLBpvfmA\",\"vtime\": \":\",\"vname\": \"T\u1eadp 27 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 26,\"vview\": 518396},{\"vytid\": \"T3JrsISW1_A\",\"vtime\": \":\",\"vname\": \"T\u1eadp 28 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 27,\"vview\": 130802},{\"vytid\": \"leXJ9yAwilU\",\"vtime\": \":\",\"vname\": \"T\u1eadp 29 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 28,\"vview\": 914070},{\"vytid\": \"dJoLLaxPIdU\",\"vtime\": \":\",\"vname\": \"T\u1eadp 30 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 29,\"vview\": 531229}]"; $a6="[{\"vytid\": \"U9oQjZ3l2Xg\",\"vtime\": \":\",\"vname\": \"T\u1eadp 31 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 30,\"vview\": 545324},{\"vytid\": \"eJMLXgyUjZE\",\"vtime\": \":\",\"vname\": \"T\u1eadp 32 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 31,\"vview\": 954200},{\"vytid\": \"Dgo9syH9uHY\",\"vtime\": \":\",\"vname\": \"T\u1eadp 33 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 32,\"vview\": 256096},{\"vytid\": \"x3Tw6a3939s\",\"vtime\": \":\",\"vname\": \"T\u1eadp 34 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 33,\"vview\": 377307},{\"vytid\": \"krEhDskx0i8\",\"vtime\": \":\",\"vname\": \"T\u1eadp 35 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 34,\"vview\": 553044},{\"vytid\": \"QiQRaA57ZVE\",\"vtime\": \":\",\"vname\": \"T\u1eadp 36 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 35,\"vview\": 506237}]"; $a7="[{\"vytid\": \"QiQRaA57ZVE\",\"vtime\": \":\",\"vname\": \"T\u1eadp 37 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 36,\"vview\": 119637},{\"vytid\": \"YWhb0T9KfZQ\",\"vtime\": \":\",\"vname\": \"T\u1eadp 38 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 37,\"vview\": 284587},{\"vytid\": \"gxWWGjf41Eg\",\"vtime\": \":\",\"vname\": \"T\u1eadp 39 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 38,\"vview\": 140985},{\"vytid\": \"tEo9bAHzHzk\",\"vtime\": \":\",\"vname\": \"T\u1eadp 40 - \u1ef6 Thi\u00ean \u0110\u1ed3 Long K\u00fd 2009\",\"vid\": 39,\"vview\": 676583}]"; if( $_GET["c"] ) { $c= $_GET['c']; switch ($c) { case 0: echo "".$a0; break; case 1: echo "".$a1; break; case 2: echo "".$a2; break; case 3: echo "".$a3; break; case 4: echo "".$a4; break; case 5: echo "".$a5; break; case 6: echo "".$a6; break; case 6: echo "".$a6; break; default: echo "def"; } } ?>
Output for 5.3.0 - 7.1.0
Notice: Undefined index: c in /in/nmD8l on line 12
Output for 4.3.0 - 5.2.17
Notice: Undefined index: c in /in/nmD8l on line 12