3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pastry = ['shortcrust' => 8, 'choux' => 4, 'filo' => 5]; $fillings = ['beef' => 3, 'cream' => 8, 'green onions' => 5]; array_multisort($fillings, $pastry); var_dump($pastry); var_dump($fillings);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/haBV1
function name:  (null)
number of ops:  13
compiled vars:  !0 = $pastry, !1 = $fillings
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    5     2        INIT_FCALL                                               'array_multisort'
          3        SEND_REF                                                 !1
          4        SEND_REF                                                 !0
          5        DO_ICALL                                                 
    6     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
    7     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.87 ms | 1436 KiB | 15 Q