3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo bcmod("3.5", "4")."\n"; echo fmod(3.5, 4); echo bcmod("1071", "357.5")."\n"; echo fmod(1071, 357.5);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DgZeC
function name:  (null)
number of ops:  23
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL_BY_NAME                                       'bcmod'
          1        SEND_VAL_EX                                              '3.5'
          2        SEND_VAL_EX                                              '4'
          3        DO_FCALL                                      0  $0      
          4        CONCAT                                           ~1      $0, '%0A'
          5        ECHO                                                     ~1
    5     6        INIT_FCALL                                               'fmod'
          7        SEND_VAL                                                 3.5
          8        SEND_VAL                                                 4
          9        DO_ICALL                                         $2      
         10        ECHO                                                     $2
    7    11        INIT_FCALL_BY_NAME                                       'bcmod'
         12        SEND_VAL_EX                                              '1071'
         13        SEND_VAL_EX                                              '357.5'
         14        DO_FCALL                                      0  $3      
         15        CONCAT                                           ~4      $3, '%0A'
         16        ECHO                                                     ~4
    8    17        INIT_FCALL                                               'fmod'
         18        SEND_VAL                                                 1071
         19        SEND_VAL                                                 357.5
         20        DO_ICALL                                         $5      
         21        ECHO                                                     $5
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.18 ms | 1395 KiB | 18 Q