3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 9.2; $b = 10.02; $a = ceil($a); $b = floor($b); echo $a == $b ? 'equal' : 'not equal';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CD1h7
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 9.2
    4     1        ASSIGN                                                   !1, 10.02
    5     2        INIT_FCALL                                               'ceil'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !0, $4
    6     6        INIT_FCALL                                               'floor'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $6      
          9        ASSIGN                                                   !1, $6
    8    10        IS_EQUAL                                                 !0, !1
         11      > JMPZ                                                     ~8, ->14
         12    >   QM_ASSIGN                                        ~9      'equal'
         13      > JMP                                                      ->15
         14    >   QM_ASSIGN                                        ~9      'not+equal'
         15    >   ECHO                                                     ~9
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.46 ms | 1394 KiB | 17 Q