3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data1=array('date'=>'2 November 2013','name'=>'Ian Dear','amount'=>500000); $data2=array('date'=>'6 November 2013','name'=>'Bobvinder Sira','amount'=>3075000); $data3=array('date'=>'9 November 2013','name'=>'Abigail Jones','amount'=>2005000); $data4=array('date'=>'13 November 2013','name'=>'John Smith','amount'=>1875000); $num=array_merge($data1,$data2,$data3,$data4); array_multisort($num,SORT_DESC,SORT_NUMERIC); print_r($data1); print_r($data2); print_r($data3); print_r($data4); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Sn5e6
function name:  (null)
number of ops:  29
compiled vars:  !0 = $data1, !1 = $data2, !2 = $data3, !3 = $data4, !4 = $num
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, <array>
    7     2        ASSIGN                                                   !2, <array>
    9     3        ASSIGN                                                   !3, <array>
   11     4        INIT_FCALL                                               'array_merge'
          5        SEND_VAR                                                 !0
          6        SEND_VAR                                                 !1
          7        SEND_VAR                                                 !2
          8        SEND_VAR                                                 !3
          9        DO_ICALL                                         $9      
         10        ASSIGN                                                   !4, $9
   12    11        INIT_FCALL                                               'array_multisort'
         12        SEND_REF                                                 !4
         13        SEND_VAL                                                 3
         14        SEND_VAL                                                 1
         15        DO_ICALL                                                 
   16    16        INIT_FCALL                                               'print_r'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                                 
   17    19        INIT_FCALL                                               'print_r'
         20        SEND_VAR                                                 !1
         21        DO_ICALL                                                 
   18    22        INIT_FCALL                                               'print_r'
         23        SEND_VAR                                                 !2
         24        DO_ICALL                                                 
   19    25        INIT_FCALL                                               'print_r'
         26        SEND_VAR                                                 !3
         27        DO_ICALL                                                 
   21    28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.88 ms | 1387 KiB | 19 Q