3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.87 ms | 1398 KiB | 15 Q