3v4l.org

run code in 500+ PHP versions simultaneously
<?php $x = 0.0; $y = -0.0; printf("%.08f == %.08f: %d\n", atan2($x, $y), atan2($y, $y), atan2($x, $y) == atan2($y, $y));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bHhDE
function name:  (null)
number of ops:  26
compiled vars:  !0 = $x, !1 = $y
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, 0
    3     1        ASSIGN                                                       !1, -0
    5     2        INIT_FCALL                                                   'printf'
          3        SEND_VAL                                                     '%25.08f+%3D%3D+%25.08f%3A+%25d%0A'
          4        INIT_FCALL                                                   'atan2'
          5        SEND_VAR                                                     !0
          6        SEND_VAR                                                     !1
          7        DO_ICALL                                             $4      
          8        SEND_VAR                                                     $4
          9        INIT_FCALL                                                   'atan2'
         10        SEND_VAR                                                     !1
         11        SEND_VAR                                                     !1
         12        DO_ICALL                                             $5      
         13        SEND_VAR                                                     $5
         14        INIT_FCALL                                                   'atan2'
         15        SEND_VAR                                                     !0
         16        SEND_VAR                                                     !1
         17        DO_ICALL                                             $6      
         18        INIT_FCALL                                                   'atan2'
         19        SEND_VAR                                                     !1
         20        SEND_VAR                                                     !1
         21        DO_ICALL                                             $7      
         22        IS_EQUAL                                             ~8      $6, $7
         23        SEND_VAL                                                     ~8
         24        DO_ICALL                                                     
         25      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
150.74 ms | 2292 KiB | 10 Q