3v4l.org

run code in 300+ PHP versions simultaneously
<?php $limit1 = array( 1, 10 ); $limit2 = array( 2, 60 ); if( $limit1 > $limit2 ){ echo $limit1[0] . ',' . $limit1[1]; } else{ echo $limit2[0] . ',' . $limit2[1]; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 10
Branch analysis from position: 4
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: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Vukf9
function name:  (null)
number of ops:  16
compiled vars:  !0 = $limit1, !1 = $limit2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    5     2        IS_SMALLER                                               !1, !0
          3      > JMPZ                                                     ~4, ->10
    6     4    >   FETCH_DIM_R                                      ~5      !0, 0
          5        CONCAT                                           ~6      ~5, '%2C'
          6        FETCH_DIM_R                                      ~7      !0, 1
          7        CONCAT                                           ~8      ~6, ~7
          8        ECHO                                                     ~8
          9      > JMP                                                      ->15
    8    10    >   FETCH_DIM_R                                      ~9      !1, 0
         11        CONCAT                                           ~10     ~9, '%2C'
         12        FETCH_DIM_R                                      ~11     !1, 1
         13        CONCAT                                           ~12     ~10, ~11
         14        ECHO                                                     ~12
    9    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.29 ms | 1393 KiB | 13 Q