3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
154.47 ms | 2963 KiB | 14 Q