3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = array(' protected $pkgVersion = \'1.1\';'); $exploded = explode('=', array_shift($matches)); $result = trim(array_pop($exploded), '\t ;\'"'); var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HYOvc
function name:  (null)
number of ops:  21
compiled vars:  !0 = $matches, !1 = $exploded, !2 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%3D'
          3        INIT_FCALL                                               'array_shift'
          4        SEND_REF                                                 !0
          5        DO_ICALL                                         $4      
          6        SEND_VAR                                                 $4
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !1, $5
    5     9        INIT_FCALL                                               'trim'
         10        INIT_FCALL                                               'array_pop'
         11        SEND_REF                                                 !1
         12        DO_ICALL                                         $7      
         13        SEND_VAR                                                 $7
         14        SEND_VAL                                                 '%5Ct+%3B%27%22'
         15        DO_ICALL                                         $8      
         16        ASSIGN                                                   !2, $8
    7    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !2
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.54 ms | 1386 KiB | 23 Q