3v4l.org

run code in 300+ PHP versions simultaneously
<?php $v = -1.1; var_dump((bool) $v); var_dump((int) $v); var_dump(abs($v));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uWGeR
function name:  (null)
number of ops:  16
compiled vars:  !0 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, -1.1
    5     1        INIT_FCALL                                               'var_dump'
          2        BOOL                                             ~2      !0
          3        SEND_VAL                                                 ~2
          4        DO_ICALL                                                 
    6     5        INIT_FCALL                                               'var_dump'
          6        CAST                                          4  ~4      !0
          7        SEND_VAL                                                 ~4
          8        DO_ICALL                                                 
    7     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'abs'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $6      
         13        SEND_VAR                                                 $6
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.35 ms | 1394 KiB | 17 Q