3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 10; $y = 15; [$min, $max] = ($x < $y) ? [$x, $y] : [$y, $x]; echo $min . " jest mniejszą wartością od " . $max;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 8
Branch analysis from position: 4
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: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/07teU
function name:  (null)
number of ops:  20
compiled vars:  !0 = $x, !1 = $y, !2 = $min, !3 = $max
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 10
    4     1        ASSIGN                                                   !1, 15
    6     2        IS_SMALLER                                               !0, !1
          3      > JMPZ                                                     ~6, ->8
          4    >   INIT_ARRAY                                       ~7      !0
          5        ADD_ARRAY_ELEMENT                                ~7      !1
          6        QM_ASSIGN                                        ~8      ~7
          7      > JMP                                                      ->11
          8    >   INIT_ARRAY                                       ~9      !1
          9        ADD_ARRAY_ELEMENT                                ~9      !0
         10        QM_ASSIGN                                        ~8      ~9
         11    >   FETCH_LIST_R                                     $10     ~8, 0
         12        ASSIGN                                                   !2, $10
         13        FETCH_LIST_R                                     $12     ~8, 1
         14        ASSIGN                                                   !3, $12
         15        FREE                                                     ~8
    8    16        CONCAT                                           ~14     !2, '+jest+mniejsz%C4%85+warto%C5%9Bci%C4%85+od+'
         17        CONCAT                                           ~15     ~14, !3
         18        ECHO                                                     ~15
    9    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
264.95 ms | 1007 KiB | 13 Q