3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.07 ms | 1393 KiB | 17 Q