3v4l.org

run code in 300+ PHP versions simultaneously
<?php $wyniki = []; $wyniki["w1"] = 100; $wyniki["w2"] = 300; $wyniki["w3"] = 50; $wyniki["w4"] = 800; print_r($wyniki); arsort($wyniki); echo PHP_EOL; print_r( $wyniki ); echo PHP_EOL; echo sprintf("klucz %s", key($wyniki));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ce3o6
function name:  (null)
number of ops:  29
compiled vars:  !0 = $wyniki
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN_DIM                                               !0, 'w1'
          2        OP_DATA                                                  100
    4     3        ASSIGN_DIM                                               !0, 'w2'
          4        OP_DATA                                                  300
    5     5        ASSIGN_DIM                                               !0, 'w3'
          6        OP_DATA                                                  50
    6     7        ASSIGN_DIM                                               !0, 'w4'
          8        OP_DATA                                                  800
    8     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
    9    12        INIT_FCALL                                               'arsort'
         13        SEND_REF                                                 !0
         14        DO_ICALL                                                 
   10    15        ECHO                                                     '%0A'
   11    16        INIT_FCALL                                               'print_r'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                                 
   12    19        ECHO                                                     '%0A'
   13    20        INIT_FCALL                                               'sprintf'
         21        SEND_VAL                                                 'klucz+%25s'
         22        INIT_FCALL                                               'key'
         23        SEND_VAR                                                 !0
         24        DO_ICALL                                         $9      
         25        SEND_VAR                                                 $9
         26        DO_ICALL                                         $10     
         27        ECHO                                                     $10
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.52 ms | 1395 KiB | 21 Q