3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.18 ms | 1395 KiB | 15 Q