3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = range(0,9); $arr2 = range('a','z'); $pattern = array_merge($arr1.$arr2); $len = count($parttern) - 1; var_dump($len);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CZ49e
function name:  (null)
number of ops:  22
compiled vars:  !0 = $arr1, !1 = $arr2, !2 = $pattern, !3 = $len, !4 = $parttern
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 9
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !0, $5
    3     5        INIT_FCALL                                               'range'
          6        SEND_VAL                                                 'a'
          7        SEND_VAL                                                 'z'
          8        DO_ICALL                                         $7      
          9        ASSIGN                                                   !1, $7
    4    10        INIT_FCALL                                               'array_merge'
         11        CONCAT                                           ~9      !0, !1
         12        SEND_VAL                                                 ~9
         13        DO_ICALL                                         $10     
         14        ASSIGN                                                   !2, $10
    5    15        COUNT                                            ~12     !4
         16        SUB                                              ~13     ~12, 1
         17        ASSIGN                                                   !3, ~13
    6    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !3
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.61 ms | 1395 KiB | 19 Q