3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.75 ms | 1394 KiB | 17 Q