3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 100; $b = 1000E-1; echo $b; $c = $a === $b; echo $c; if(is_empty($c)) echo 'null'; if($c) echo 'true'; else echo 'false';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
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
Branch analysis from position: 11
filename:       /in/VZYMj
function name:  (null)
number of ops:  16
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 100
    4     1        ASSIGN                                                   !1, 100
    6     2        ECHO                                                     !1
    8     3        IS_IDENTICAL                                     ~5      !0, !1
          4        ASSIGN                                                   !2, ~5
    9     5        ECHO                                                     !2
   10     6        INIT_FCALL_BY_NAME                                       'is_empty'
          7        SEND_VAR_EX                                              !2
          8        DO_FCALL                                      0  $7      
          9      > JMPZ                                                     $7, ->11
   11    10    >   ECHO                                                     'null'
   12    11    > > JMPZ                                                     !2, ->14
   13    12    >   ECHO                                                     'true'
         13      > JMP                                                      ->15
   15    14    >   ECHO                                                     'false'
         15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.91 ms | 1393 KiB | 13 Q