3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(0); $a = "2d9"; $a++; $a++; echo $a; // 2 // 2d11 //*3 // 4 // 4d9 // r2d2 echo "\n"; $a = "0"; $b = 0; $c = NULL; if ($a == $b && $b == $c) { echo $a == $c ? 'true' : 'false'; } else { echo 'none'; } // true //*false // none // 42 ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 23
Branch analysis from position: 16
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/Qi7Xd
function name:  (null)
number of ops:  25
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 0
          2        DO_ICALL                                                 
    4     3        ASSIGN                                                   !0, '2d9'
    5     4        PRE_INC                                                  !0
    6     5        PRE_INC                                                  !0
    7     6        ECHO                                                     !0
   15     7        ECHO                                                     '%0A'
   17     8        ASSIGN                                                   !0, '0'
   18     9        ASSIGN                                                   !1, 0
   19    10        ASSIGN                                                   !2, null
   20    11        IS_EQUAL                                         ~10     !0, !1
         12      > JMPZ_EX                                          ~10     ~10, ->15
         13    >   IS_EQUAL                                         ~11     !1, !2
         14        BOOL                                             ~10     ~11
         15    > > JMPZ                                                     ~10, ->23
   21    16    >   IS_EQUAL                                                 !0, !2
         17      > JMPZ                                                     ~12, ->20
         18    >   QM_ASSIGN                                        ~13     'true'
         19      > JMP                                                      ->21
         20    >   QM_ASSIGN                                        ~13     'false'
         21    >   ECHO                                                     ~13
         22      > JMP                                                      ->24
   23    23    >   ECHO                                                     'none'
   29    24    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.8 ms | 1396 KiB | 15 Q