3v4l.org

run code in 300+ PHP versions simultaneously
<?php $iWannaUseThePikey = array( // Look ma, it's an array 'foo' => '1', 'bar' => '2', 'baz' => '3', 'zip' => '1'); // This doesn't. Let's cast the array to an array just to make sure... oh ok now it's an array $avi = array_count_values((array)$iWannaUseThePikey); var_dump((array)$iWannaUseThePikey); var_dump($avi);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eeblM
function name:  (null)
number of ops:  14
compiled vars:  !0 = $iWannaUseThePikey, !1 = $avi
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'array_count_values'
          2        CAST                                          7  ~3      !0
          3        SEND_VAL                                                 ~3
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
   11     6        INIT_FCALL                                               'var_dump'
          7        CAST                                          7  ~6      !0
          8        SEND_VAL                                                 ~6
          9        DO_ICALL                                                 
   12    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.25 ms | 1394 KiB | 17 Q