3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_NONE); $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 = 14, Position 2 = 16
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 24
Branch analysis from position: 17
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 21
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/3PU8L
function name:  (null)
number of ops:  26
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        FETCH_CONSTANT                                   ~3      'E_NONE'
          2        SEND_VAL                                                 ~3
          3        DO_ICALL                                                 
    4     4        ASSIGN                                                   !0, '2d9'
    5     5        PRE_INC                                                  !0
    6     6        PRE_INC                                                  !0
    7     7        ECHO                                                     !0
   15     8        ECHO                                                     '%0A'
   17     9        ASSIGN                                                   !0, '0'
   18    10        ASSIGN                                                   !1, 0
   19    11        ASSIGN                                                   !2, null
   20    12        IS_EQUAL                                         ~11     !0, !1
         13      > JMPZ_EX                                          ~11     ~11, ->16
         14    >   IS_EQUAL                                         ~12     !1, !2
         15        BOOL                                             ~11     ~12
         16    > > JMPZ                                                     ~11, ->24
   21    17    >   IS_EQUAL                                                 !0, !2
         18      > JMPZ                                                     ~13, ->21
         19    >   QM_ASSIGN                                        ~14     'true'
         20      > JMP                                                      ->22
         21    >   QM_ASSIGN                                        ~14     'false'
         22    >   ECHO                                                     ~14
         23      > JMP                                                      ->25
   23    24    >   ECHO                                                     'none'
   28    25    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.43 ms | 1396 KiB | 15 Q