3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data[] = array('title' => 'hello', 'attributes' => array('id' => 4, 'startdate' => '2013-06-11')); $data[] = array('title' => 'hello second entry', 'attributes' => array('id' => 6, 'startdate' => '2013-04-11')); print "Inital Data\n"; print_r($data); print "\n"; print "Sorted Data\n"; print_r($data); print "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mTFKS
function name:  (null)
number of ops:  15
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0
          1        OP_DATA                                                  <array>
    4     2        ASSIGN_DIM                                               !0
          3        OP_DATA                                                  <array>
    7     4        ECHO                                                     'Inital+Data%0A'
    8     5        INIT_FCALL                                               'print_r'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    9     8        ECHO                                                     '%0A'
   12     9        ECHO                                                     'Sorted+Data%0A'
   13    10        INIT_FCALL                                               'print_r'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
   14    13        ECHO                                                     '%0A'
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.18 ms | 1394 KiB | 15 Q