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 ;\'"'); $val1 = explode('.', $result); $val2 = explode('.', $this->input[0]); $val2 = array_pad($val2, count($val1), '0'); $val1 = array_pad($val1, count($val2), '0'); if (implode('.', $val2) != implode('.', $val1)) { $success = false; } $result = $result; var_dump($result);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 54, Position 2 = 55
Branch analysis from position: 54
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 55
filename:       /in/o6TOn
function name:  (null)
number of ops:  60
compiled vars:  !0 = $matches, !1 = $exploded, !2 = $result, !3 = $val1, !4 = $val2, !5 = $success
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                                         $7      
          6        SEND_VAR                                                 $7
          7        DO_ICALL                                         $8      
          8        ASSIGN                                                   !1, $8
    5     9        INIT_FCALL                                               'trim'
         10        INIT_FCALL                                               'array_pop'
         11        SEND_REF                                                 !1
         12        DO_ICALL                                         $10     
         13        SEND_VAR                                                 $10
         14        SEND_VAL                                                 '%5Ct+%3B%27%22'
         15        DO_ICALL                                         $11     
         16        ASSIGN                                                   !2, $11
    7    17        INIT_FCALL                                               'explode'
         18        SEND_VAL                                                 '.'
         19        SEND_VAR                                                 !2
         20        DO_ICALL                                         $13     
         21        ASSIGN                                                   !3, $13
    8    22        INIT_FCALL                                               'explode'
         23        SEND_VAL                                                 '.'
         24        FETCH_THIS                                       $15     
         25        FETCH_OBJ_R                                      ~16     $15, 'input'
         26        FETCH_DIM_R                                      ~17     ~16, 0
         27        SEND_VAL                                                 ~17
         28        DO_ICALL                                         $18     
         29        ASSIGN                                                   !4, $18
    9    30        INIT_FCALL                                               'array_pad'
         31        SEND_VAR                                                 !4
         32        COUNT                                            ~20     !3
         33        SEND_VAL                                                 ~20
         34        SEND_VAL                                                 '0'
         35        DO_ICALL                                         $21     
         36        ASSIGN                                                   !4, $21
   10    37        INIT_FCALL                                               'array_pad'
         38        SEND_VAR                                                 !3
         39        COUNT                                            ~23     !4
         40        SEND_VAL                                                 ~23
         41        SEND_VAL                                                 '0'
         42        DO_ICALL                                         $24     
         43        ASSIGN                                                   !3, $24
   12    44        INIT_FCALL                                               'implode'
         45        SEND_VAL                                                 '.'
         46        SEND_VAR                                                 !4
         47        DO_ICALL                                         $26     
         48        INIT_FCALL                                               'implode'
         49        SEND_VAL                                                 '.'
         50        SEND_VAR                                                 !3
         51        DO_ICALL                                         $27     
         52        IS_NOT_EQUAL                                             $26, $27
         53      > JMPZ                                                     ~28, ->55
   13    54    >   ASSIGN                                                   !5, <false>
   15    55    >   ASSIGN                                                   !2, !2
   17    56        INIT_FCALL                                               'var_dump'
         57        SEND_VAR                                                 !2
         58        DO_ICALL                                                 
         59      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.96 ms | 1400 KiB | 27 Q