3v4l.org

run code in 300+ PHP versions simultaneously
<?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);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aoUR7
function name:  (null)
number of ops:  15
compiled vars:  !0 = $TAF, !1 = $Tempo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'ESMS+020501Z+0206%2F0306+30012KT+9999+BKN014+BECMG+0206%2F0208+SCT030+TEMPO+0209%2F0306+28015G25KT%3D'
    5     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 <array>
          3        INIT_ARRAY                                       ~3      !0
          4        ADD_ARRAY_ELEMENT                                ~3      !0
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    6     8        INIT_FCALL                                               'array_shift'
          9        SEND_REF                                                 !1
         10        DO_ICALL                                                 
    7    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.39 ms | 1394 KiB | 19 Q