3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
209.49 ms | 1396 KiB | 17 Q