3v4l.org

run code in 300+ PHP versions simultaneously
<?php $height = 6; $length = 22; $width = 15; $size = ( max( $height, $length, $width ) > 12 ); echo $size;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MGPIs
function name:  (null)
number of ops:  12
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                                       ~8      12, $7
          9        ASSIGN                                                   !3, ~8
    8    10        ECHO                                                     !3
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.3 ms | 1394 KiB | 15 Q