3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = INF; $n = pow(2,64); echo $a - ($n * ( (int) ($a/$n) ) ); echo fmod(INF,pow(2,64)); echo INF % pow(2,64);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lEtlh
function name:  (null)
number of ops:  27
compiled vars:  !0 = $a, !1 = $n
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, INF
    3     1        INIT_FCALL                                               'pow'
          2        SEND_VAL                                                 2
          3        SEND_VAL                                                 64
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    5     6        DIV                                              ~5      !0, !1
          7        CAST                                          4  ~6      ~5
          8        MUL                                              ~7      !1, ~6
          9        SUB                                              ~8      !0, ~7
         10        ECHO                                                     ~8
    9    11        INIT_FCALL                                               'fmod'
         12        SEND_VAL                                                 INF
         13        INIT_FCALL                                               'pow'
         14        SEND_VAL                                                 2
         15        SEND_VAL                                                 64
         16        DO_ICALL                                         $9      
         17        SEND_VAR                                                 $9
         18        DO_ICALL                                         $10     
         19        ECHO                                                     $10
   11    20        INIT_FCALL                                               'pow'
         21        SEND_VAL                                                 2
         22        SEND_VAL                                                 64
         23        DO_ICALL                                         $11     
         24        MOD                                              ~12     INF, $11
         25        ECHO                                                     ~12
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.2 ms | 1395 KiB | 17 Q