3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = array('123', '456A', '78'); sort($a); print_r($a); $b = array('456A', '78', '123'); sort($b); print_r($b); $c = array('78', '123', '456A'); sort($c); print_r($c); $d = array('78', '456A', '123'); sort($d); print_r($d);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lf3uX
function name:  (null)
number of ops:  29
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
          1        INIT_FCALL                                                   'sort'
          2        SEND_REF                                                     !0
          3        DO_ICALL                                                     
          4        INIT_FCALL                                                   'print_r'
          5        SEND_VAR                                                     !0
          6        DO_ICALL                                                     
    4     7        ASSIGN                                                       !1, <array>
          8        INIT_FCALL                                                   'sort'
          9        SEND_REF                                                     !1
         10        DO_ICALL                                                     
         11        INIT_FCALL                                                   'print_r'
         12        SEND_VAR                                                     !1
         13        DO_ICALL                                                     
    5    14        ASSIGN                                                       !2, <array>
         15        INIT_FCALL                                                   'sort'
         16        SEND_REF                                                     !2
         17        DO_ICALL                                                     
         18        INIT_FCALL                                                   'print_r'
         19        SEND_VAR                                                     !2
         20        DO_ICALL                                                     
    6    21        ASSIGN                                                       !3, <array>
         22        INIT_FCALL                                                   'sort'
         23        SEND_REF                                                     !3
         24        DO_ICALL                                                     
         25        INIT_FCALL                                                   'print_r'
         26        SEND_VAR                                                     !3
         27        DO_ICALL                                                     
         28      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
130.21 ms | 480 KiB | 9 Q