3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.38 ms | 1394 KiB | 15 Q