3v4l.org

run code in 300+ PHP versions simultaneously
<?php switch(PHP_INT_SIZE) { case 4:echo '32-bit version of PHP';break; case 8:echo '64-bit version of PHP';break; default:echo 'PHP_INT_SIZE is ' . PHP_INT_SIZE;break; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 2, Position 2 = 5
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
filename:       /in/iu0DN
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   IS_EQUAL                                                 8, 4
          1      > JMPNZ                                                    ~0, ->5
    5     2    >   IS_EQUAL                                                 8, 8
          3      > JMPNZ                                                    ~0, ->7
          4    > > JMP                                                      ->9
    4     5    >   ECHO                                                     '32-bit+version+of+PHP'
          6      > JMP                                                      ->11
    5     7    >   ECHO                                                     '64-bit+version+of+PHP'
          8      > JMP                                                      ->11
    6     9    >   ECHO                                                     'PHP_INT_SIZE+is+8'
         10      > JMP                                                      ->11
    7    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.7 ms | 1397 KiB | 13 Q