3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stat = array ( 'direct' => array ( 'listing' => array ( 0 => array ( 'text' => '1', 'clicks' => 1, 'ctr' => 100, 'price' => 1, 'budget' => 1, ), 1 => array ( 'text' => '2', 'clicks' => 2, 'ctr' => 200, 'price' => 2, 'budget' => 2, ), 2 => array ( 'text' => '3', 'clicks' => 3, 'ctr' => 300, 'price' => 3, 'budget' => 3, ), 3 => array ( 'text' => '1', 'clicks' => 1, 'ctr' => 100, 'price' => 1, 'budget' => 1, ), 4 => array ( 'text' => '2', 'clicks' => 2, 'ctr' => 200, 'price' => 2, 'budget' => 2, ), 5 => array ( 'text' => '3', 'clicks' => 3, 'ctr' => 300, 'price' => 3, 'budget' => 3, ), 6 => array ( 'text' => '1', 'clicks' => 1, 'ctr' => 100, 'price' => 1, 'budget' => 1, ), 7 => array ( 'text' => '2', 'clicks' => 2, 'ctr' => 200, 'price' => 2, 'budget' => 2, ), 8 => array ( 'text' => '3', 'clicks' => 3, 'ctr' => 300, 'price' => 3, 'budget' => 3, ), ), ), 'market' => array ( 'listing' => array ( ), ), ); print_r($stat['direct']['listing']); sort($stat['direct']['listing']); print_r($stat['direct']['listing']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fZ5R6
function name:  (null)
number of ops:  17
compiled vars:  !0 = $stat
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   89     1        INIT_FCALL                                               'print_r'
          2        FETCH_DIM_R                                      ~2      !0, 'direct'
          3        FETCH_DIM_R                                      ~3      ~2, 'listing'
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                                 
   90     6        INIT_FCALL                                               'sort'
          7        FETCH_DIM_W                                      $5      !0, 'direct'
          8        FETCH_DIM_W                                      $6      $5, 'listing'
          9        SEND_REF                                                 $6
         10        DO_ICALL                                                 
   91    11        INIT_FCALL                                               'print_r'
         12        FETCH_DIM_R                                      ~8      !0, 'direct'
         13        FETCH_DIM_R                                      ~9      ~8, 'listing'
         14        SEND_VAL                                                 ~9
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.1 ms | 1394 KiB | 17 Q