3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array=array("2009-01-01 00:00:00", "2008-01-01 00:00:00", "0000-00-00 00:00:00", "0000-00-00 00:00:00", "0000-00-00 00:00:00", "2006-01-01 00:00:00", "2006-01-01 00:00:00"); print_r($array); ort($array,SORT_STRING); print_r($array); $array=array_reverse($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ve23u
function name:  (null)
number of ops:  16
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL                                               'print_r'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    4     4        INIT_FCALL_BY_NAME                                       'ort'
          5        SEND_VAR_EX                                              !0
          6        SEND_VAL_EX                                              2
          7        DO_FCALL                                      0          
    5     8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
    6    11        INIT_FCALL                                               'array_reverse'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $5      
         14        ASSIGN                                                   !0, $5
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
207.55 ms | 1394 KiB | 17 Q