3v4l.org

run code in 500+ PHP versions simultaneously
<?php $testPHPLt8VsPHP8 = array( -10 => 'a', 'b', // PHP < 8: int 0; PHP 8+: -9. 'c', // PHP < 8: int 1; PHP 8+: -8. -4 => 'd', 'e', // PHP < 8: int 2; PHP 8+: -3. -9 => 'f', // Duplicate in PHP 8, not in PHP < 8. -8 => 'g', // Duplicate in PHP 8, not in PHP < 8. -3 => 'h', // Duplicate in PHP 8, not in PHP < 8. 0 => 'i', // Duplicate in PHP < 8, not in PHP 8. 1 => 'j', // Duplicate in PHP < 8, not in PHP 8. 2 => 'k', // Duplicate in PHP < 8, not in PHP 8. ); var_dump($testPHPLt8VsPHP8);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/liBXD
function name:  (null)
number of ops:  5
compiled vars:  !0 = $testPHPLt8VsPHP8
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   17     1        INIT_FCALL                                                   'var_dump'
          2        SEND_VAR                                                     !0
          3        DO_ICALL                                                     
          4      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
1960 ms | 3452 KiB | 14 Q