3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [5,0,6,1,0,1,0,1,8,0,0,0,6,0,3,8,4,0,9,3,8,0,0,1,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,5,6,1,9,9,9,9,9,9,9,9]; foreach($a as $e) { $e = (string) $e; } $foo = join($a); var_dump($foo); $foo = bcadd($foo, 1); var_dump($foo);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 6
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 6
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/hDVpK
function name:  (null)
number of ops:  23
compiled vars:  !0 = $a, !1 = $e, !2 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1      > FE_RESET_R                                       $4      !0, ->6
          2    > > FE_FETCH_R                                               $4, !1, ->6
    4     3    >   CAST                                          6  ~5      !1
          4        ASSIGN                                                   !1, ~5
    3     5      > JMP                                                      ->2
          6    >   FE_FREE                                                  $4
    6     7        INIT_FCALL                                               'join'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $7      
         10        ASSIGN                                                   !2, $7
    7    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !2
         13        DO_ICALL                                                 
    8    14        INIT_FCALL_BY_NAME                                       'bcadd'
         15        SEND_VAR_EX                                              !2
         16        SEND_VAL_EX                                              1
         17        DO_FCALL                                      0  $10     
         18        ASSIGN                                                   !2, $10
    9    19        INIT_FCALL                                               'var_dump'
         20        SEND_VAR                                                 !2
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.59 ms | 1400 KiB | 17 Q