3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = rand(1337,2600)*42; $b = rand(1879,1955)*42; $a < $b ? $a ^= $b ^= $a ^= $b : $a = $b; echo $a+$b;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 19
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a5Qcm
function name:  (null)
number of ops:  25
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'rand'
          1        SEND_VAL                                                 1337
          2        SEND_VAL                                                 2600
          3        DO_ICALL                                         $2      
          4        MUL                                              ~3      $2, 42
          5        ASSIGN                                                   !0, ~3
    4     6        INIT_FCALL                                               'rand'
          7        SEND_VAL                                                 1879
          8        SEND_VAL                                                 1955
          9        DO_ICALL                                         $5      
         10        MUL                                              ~6      $5, 42
         11        ASSIGN                                                   !1, ~6
    6    12        IS_SMALLER                                               !0, !1
         13      > JMPZ                                                     ~8, ->19
         14    >   ASSIGN_OP                                    11  ~9      !0, !1
         15        ASSIGN_OP                                    11  ~10     !1, ~9
         16        ASSIGN_OP                                    11  ~11     !0, ~10
         17        QM_ASSIGN                                        ~12     ~11
         18      > JMP                                                      ->21
         19    >   ASSIGN                                           ~13     !0, !1
         20        QM_ASSIGN                                        ~12     ~13
         21    >   FREE                                                     ~12
    8    22        ADD                                              ~14     !0, !1
         23        ECHO                                                     ~14
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.24 ms | 1395 KiB | 15 Q