3v4l.org

run code in 300+ PHP versions simultaneously
<?php phpversion() >= "5.6.0" or die(); echo INF/pow(2.,64.),"\n"; echo fmod(INF,pow(2.,64.)); //echo INF % pow(2.,64.); echo 0 % pow(2.,64.);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/F4um5
function name:  (null)
number of ops:  29
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'phpversion'
          1        DO_ICALL                                         $0      
          2        IS_SMALLER_OR_EQUAL                              ~1      '5.6.0', $0
          3      > JMPNZ_EX                                         ~1      ~1, ->6
          4    > > EXIT                                                     
          5*       BOOL                                             ~1      <true>
    5     6    >   INIT_FCALL                                               'pow'
          7        SEND_VAL                                                 2
          8        SEND_VAL                                                 64
          9        DO_ICALL                                         $2      
         10        DIV                                              ~3      INF, $2
         11        ECHO                                                     ~3
         12        ECHO                                                     '%0A'
    7    13        INIT_FCALL                                               'fmod'
         14        SEND_VAL                                                 INF
         15        INIT_FCALL                                               'pow'
         16        SEND_VAL                                                 2
         17        SEND_VAL                                                 64
         18        DO_ICALL                                         $4      
         19        SEND_VAR                                                 $4
         20        DO_ICALL                                         $5      
         21        ECHO                                                     $5
   11    22        INIT_FCALL                                               'pow'
         23        SEND_VAL                                                 2
         24        SEND_VAL                                                 64
         25        DO_ICALL                                         $6      
         26        MOD                                              ~7      0, $6
         27        ECHO                                                     ~7
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.17 ms | 1395 KiB | 19 Q