3v4l.org

run code in 300+ PHP versions simultaneously
<?php $inventory = [ ["price" => 3.50, "type" => "fruit"], ["price" => 2.90, "type" => "milk"], ["price" => 3.50, "type" => "veg"], ["price" => 5.43, "type" => "pork"], ["price" => 3.50, "type" => "bread"], ]; rsort($inventory); var_export($inventory);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2meqs
function name:  (null)
number of ops:  8
compiled vars:  !0 = $inventory
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'rsort'
          2        SEND_REF                                                 !0
          3        DO_ICALL                                                 
   11     4        INIT_FCALL                                               'var_export'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.27 ms | 1393 KiB | 17 Q