3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(exp(2) === M_E ** 2); var_dump(exp(2) - M_E ** 2); var_dump(exp(2) - pow(M_E, 2)); var_dump(M_E ** 2 - pow(M_E, 2));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dbegd
function name:  (null)
number of ops:  34
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
          1        INIT_FCALL                                                   'exp'
          2        SEND_VAL                                                     2
          3        DO_ICALL                                             $0      
          4        IS_IDENTICAL                                         ~1      $0, 7.38906
          5        SEND_VAL                                                     ~1
          6        DO_ICALL                                                     
    4     7        INIT_FCALL                                                   'var_dump'
          8        INIT_FCALL                                                   'exp'
          9        SEND_VAL                                                     2
         10        DO_ICALL                                             $3      
         11        SUB                                                  ~4      $3, 7.38906
         12        SEND_VAL                                                     ~4
         13        DO_ICALL                                                     
    5    14        INIT_FCALL                                                   'var_dump'
         15        INIT_FCALL                                                   'exp'
         16        SEND_VAL                                                     2
         17        DO_ICALL                                             $6      
         18        INIT_FCALL                                                   'pow'
         19        SEND_VAL                                                     2.71828
         20        SEND_VAL                                                     2
         21        DO_ICALL                                             $7      
         22        SUB                                                  ~8      $6, $7
         23        SEND_VAL                                                     ~8
         24        DO_ICALL                                                     
    6    25        INIT_FCALL                                                   'var_dump'
         26        INIT_FCALL                                                   'pow'
         27        SEND_VAL                                                     2.71828
         28        SEND_VAL                                                     2
         29        DO_ICALL                                             $10     
         30        SUB                                                  ~11     7.38906, $10
         31        SEND_VAL                                                     ~11
         32        DO_ICALL                                                     
         33      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.58 ms | 1334 KiB | 16 Q