3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = ["123", "45f", "89"]; $arr2 = ["45f", "123", "89"]; $arr3 = ["89", "45f", "123"]; $sarr1 = sort($arr1); $sarr2 = sort($arr2); $sarr3 = sort($arr3); var_dump($arr1); var_dump($arr2); var_dump($arr3);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kQeDd
function name:  (null)
number of ops:  25
compiled vars:  !0 = $arr1, !1 = $arr2, !2 = $arr3, !3 = $sarr1, !4 = $sarr2, !5 = $sarr3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN                                                   !2, <array>
    7     3        INIT_FCALL                                               'sort'
          4        SEND_REF                                                 !0
          5        DO_ICALL                                         $9      
          6        ASSIGN                                                   !3, $9
    8     7        INIT_FCALL                                               'sort'
          8        SEND_REF                                                 !1
          9        DO_ICALL                                         $11     
         10        ASSIGN                                                   !4, $11
    9    11        INIT_FCALL                                               'sort'
         12        SEND_REF                                                 !2
         13        DO_ICALL                                         $13     
         14        ASSIGN                                                   !5, $13
   11    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                                 
   12    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !1
         20        DO_ICALL                                                 
   13    21        INIT_FCALL                                               'var_dump'
         22        SEND_VAR                                                 !2
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.35 ms | 1395 KiB | 17 Q