3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $TAF = "ESMS 020501Z 0206/0306 30012KT 9999 BKN014 BECMG 0206/0208 SCT030 TEMPO 0209/0306 28015G25KT="; $Tempo = explode(array(" TEMPO ", " BECMG "), array($TAF, $TAF)); array_shift($Tempo); var_dump($Tempo);
based on EQjb1
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0alpha1
Warning: explode() expects parameter 1 to be string, array given in /in/aoUR7 on line 5 Warning: array_shift() expects parameter 1 to be array, null given in /in/aoUR7 on line 6 NULL
Output for hhvm-3.15.4
Warning: explode() expects parameter 1 to be string, array given in /in/aoUR7 on line 5 Warning: array_shift() expects parameter 1 to be an array or mutable collection in /in/aoUR7 on line 6 NULL