3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 1.33; var_dump(fmod($x, 1), (int)((fmod($x, 1) * 1000000)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gs3l6
function name:  (null)
number of ops:  16
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1.33
    4     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'fmod'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 1
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        INIT_FCALL                                               'fmod'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 1
         10        DO_ICALL                                         $3      
         11        MUL                                              ~4      $3, 1000000
         12        CAST                                          4  ~5      ~4
         13        SEND_VAL                                                 ~5
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.49 ms | 1385 KiB | 17 Q