3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Antes de PHP 8.1, se podían utilizar números decimales que PHP // convertía a enteros quitando la parte decimal. // Todavía se puede hacer, pero PHP genera errores E_DEPRECATED print "<p>" . intdiv(17.1, 3.1) . "</p>\n"; print "<p>" . 17.1 % 3.1 . "</p>\n"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QKJUr
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'intdiv'
          1        SEND_VAL                                                 17.1
          2        SEND_VAL                                                 3.1
          3        DO_ICALL                                         $0      
          4        CONCAT                                           ~1      '%3Cp%3E', $0
          5        CONCAT                                           ~2      ~1, '%3C%2Fp%3E%0A'
          6        ECHO                                                     ~2
    7     7        MOD                                              ~3      17.1, 3.1
          8        CONCAT                                           ~4      '%3Cp%3E', ~3
          9        CONCAT                                           ~5      ~4, '%3C%2Fp%3E%0A'
         10        ECHO                                                     ~5
    8    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.17 ms | 1435 KiB | 14 Q