3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data= Array ( [0] => Array ( [rowdata] => Array ( [0] => Array ( [DOELGROEP] => 2 [KANTOOR] => 2 [OBLIGOCATEGORIE] => 3 [NAAM] => dfdf [WEIGHT] => 0.95 [functie_01] => Ja [wiecont_01] => Weet niet1 [tevrc_01] => [opmerk] => [opmerkTXT] => Overall NPS ) [1] => Array ( [DOELGROEP] => 2 [KANTOOR] => 2 [OBLIGOCATEGORIE] => 3 [NAAM] => dfdf [WEIGHT] => 0.95 [opmerk] => [opmerkTXT] => Overall NPS [] => Overall NPS [0] => Array ( [1] => npsorg [3] => npsdetbe ) ) ) [reason] => column values are not correct ) ); foreach($data as $k => $v){ unset($data[0]['rowdata'][$k][0]); unset($data[0]['rowdata'][$k]['']); } echo"<pre>"; print_r($data);
Output for 5.4.0 - 5.4.23
Parse error: syntax error, unexpected '[', expecting ')' in /in/BOCvp on line 14
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected '[', expecting ')' in /in/BOCvp on line 7
Process exited with code 255.