3v4l.org

run code in 300+ PHP versions simultaneously
<?php $height = 6; $length = 22; $width = 15; $size = ( max( $height, $length, $width ) > 12 ) ? "LARGE" : "REGULAR"; echo $size;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/USbCb
function name:  (null)
number of ops:  16
compiled vars:  !0 = $height, !1 = $length, !2 = $width, !3 = $size
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 6
    3     1        ASSIGN                                                   !1, 22
    4     2        ASSIGN                                                   !2, 15
    6     3        INIT_FCALL                                               'max'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                         $7      
          8        IS_SMALLER                                               12, $7
          9      > JMPZ                                                     ~8, ->12
         10    >   QM_ASSIGN                                        ~9      'LARGE'
         11      > JMP                                                      ->13
         12    >   QM_ASSIGN                                        ~9      'REGULAR'
         13    >   ASSIGN                                                   !3, ~9
    8    14        ECHO                                                     !3
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.23 ms | 1386 KiB | 15 Q