3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.18 ms | 1394 KiB | 15 Q