3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 8
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 8
Branch analysis from position: 21
Branch analysis from position: 8
filename:       /in/pp9Ci
function name:  (null)
number of ops:  27
compiled vars:  !0 = $input, !1 = $a, !2 = $b, !3 = $values, !4 = $n, !5 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 20
    5     1        DECLARE_LAMBDA_FUNCTION                          ~7      [0]
          2        ASSIGN                                                   !1, ~7
    9     3        DECLARE_LAMBDA_FUNCTION                          ~9      [1]
          4        ASSIGN                                                   !2, ~9
   13     5        ASSIGN                                                   !3, <array>
   15     6        ASSIGN                                                   !4, 0
          7      > JMP                                                      ->11
   16     8    >   ASSIGN_DIM                                               !3
          9        OP_DATA                                                  !5
   15    10        PRE_INC                                                  !4
         11    >   INIT_DYNAMIC_CALL                                        !1
         12        SEND_VAR_EX                                              !4
         13        DO_FCALL                                      0  $15     
         14        INIT_DYNAMIC_CALL                                        !2
         15        SEND_VAR_EX                                              !4
         16        DO_FCALL                                      0  $16     
         17        ADD                                              ~17     $15, $16
         18        ASSIGN                                           ~18     !5, ~17
         19        IS_SMALLER_OR_EQUAL                                      ~18, !0
         20      > JMPNZ                                                    ~19, ->8
   19    21    >   INIT_FCALL                                               'implode'
         22        SEND_VAL                                                 '+'
         23        SEND_VAR                                                 !3
         24        DO_ICALL                                         $20     
         25        ECHO                                                     $20
         26      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pp9Ci
function name:  {closure}
number of ops:  8
compiled vars:  !0 = $n
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    6     1        INIT_FCALL                                               'floor'
          2        DIV                                              ~1      !0, 4
          3        SEND_VAL                                                 ~1
          4        DO_ICALL                                         $2      
          5        MUL                                              ~3      $2, 10
          6      > RETURN                                                   ~3
    7     7*     > RETURN                                                   null

End of Dynamic Function 0

Dynamic Function 1
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pp9Ci
function name:  {closure}
number of ops:  5
compiled vars:  !0 = $n
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
   10     1        MOD                                              ~1      !0, 4
          2        POW                                              ~2      2, ~1
          3      > RETURN                                                   ~2
   11     4*     > RETURN                                                   null

End of Dynamic Function 1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
246.32 ms | 975 KiB | 15 Q