3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump( (fn(int$i)=>$i)('+5123'), ['+123'=>1,'-123'=>2], bcadd('+123','-456'), );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1I5eR
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
    4     1        DECLARE_LAMBDA_FUNCTION                              ~0      [0]
          2        INIT_DYNAMIC_CALL                                            ~0
          3        SEND_VAL_EX                                                  '%2B5123'
          4        DO_FCALL                                          0  $1      
          5        SEND_VAR                                                     $1
    5     6        SEND_VAL                                                     <array>
    6     7        INIT_FCALL_BY_NAME                                           'bcadd'
          8        SEND_VAL_EX                                                  '%2B123'
          9        SEND_VAL_EX                                                  '-456'
         10        DO_FCALL                                          0  $2      
         11        SEND_VAR                                                     $2
    3    12        DO_ICALL                                                     
    7    13      > 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/1I5eR
function name:  {closure:/in/1I5eR:4}
number of ops:  3
compiled vars:  !0 = $i
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   RECV                                                 !0      
          1      > RETURN                                                       !0
          2*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.02 ms | 1372 KiB | 14 Q