3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(array("fghfg12" => 34), array("dfgdf23" => 97), array("wetw13" => 65), array("rtyr567" => 18)); array_multisort(array_map('current', $a), $a); echo json_encode($a, JSON_PRETTY_PRINT);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4Zu0q
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        INIT_FCALL                                               'array_multisort'
          2        INIT_FCALL                                               'array_map'
          3        SEND_VAL                                                 'current'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAL                                                 $2
          7        SEND_REF                                                 !0
          8        DO_ICALL                                                 
    9     9        INIT_FCALL                                               'json_encode'
         10        SEND_VAR                                                 !0
         11        SEND_VAL                                                 128
         12        DO_ICALL                                         $4      
         13        ECHO                                                     $4
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
256.72 ms | 1003 KiB | 16 Q