3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.66 ms | 1395 KiB | 15 Q