3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.1 ms | 939 KiB | 16 Q