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($pattern) - 1; var_dump($len);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eBeZU
function name:  (null)
number of ops:  22
compiled vars:  !0 = $arr1, !1 = $arr2, !2 = $pattern, !3 = $len
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                                         $4      
          4        ASSIGN                                                   !0, $4
    3     5        INIT_FCALL                                               'range'
          6        SEND_VAL                                                 'a'
          7        SEND_VAL                                                 'z'
          8        DO_ICALL                                         $6      
          9        ASSIGN                                                   !1, $6
    4    10        INIT_FCALL                                               'array_merge'
         11        SEND_VAR                                                 !0
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $8      
         14        ASSIGN                                                   !2, $8
    5    15        COUNT                                            ~10     !2
         16        SUB                                              ~11     ~10, 1
         17        ASSIGN                                                   !3, ~11
    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:
148.76 ms | 1395 KiB | 19 Q