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); sort($array,SORT_STRING); print_r($array); $array=array_reverse($array); print_r($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CP9mD
function name:  (null)
number of ops:  19
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                                               'sort'
          5        SEND_REF                                                 !0
          6        SEND_VAL                                                 2
          7        DO_ICALL                                                 
    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
    7    15        INIT_FCALL                                               'print_r'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.38 ms | 1394 KiB | 19 Q