3v4l.org

run code in 300+ PHP versions simultaneously
<?php $count = 44.28; $multiple = 0.32; $calc = $count / $multiple; //$calc = 44.28 / 0.36 = 123 echo $calc.' '. round($calc)."\n"; if($calc == ceil($calc)) die("is integer"); else die("is not integer");
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 18
Branch analysis from position: 16
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 18
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/1SAY5
function name:  (null)
number of ops:  20
compiled vars:  !0 = $count, !1 = $multiple, !2 = $calc
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 44.28
    4     1        ASSIGN                                                   !1, 0.32
    6     2        DIV                                              ~5      !0, !1
          3        ASSIGN                                                   !2, ~5
    8     4        CONCAT                                           ~7      !2, '+'
          5        INIT_FCALL                                               'round'
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                         $8      
          8        CONCAT                                           ~9      ~7, $8
          9        CONCAT                                           ~10     ~9, '%0A'
         10        ECHO                                                     ~10
    9    11        INIT_FCALL                                               'ceil'
         12        SEND_VAR                                                 !2
         13        DO_ICALL                                         $11     
         14        IS_EQUAL                                                 !2, $11
         15      > JMPZ                                                     ~12, ->18
   10    16    > > EXIT                                                     'is+integer'
         17*       JMP                                                      ->19
   12    18    > > EXIT                                                     'is+not+integer'
         19*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.36 ms | 1395 KiB | 17 Q