3v4l.org

run code in 300+ PHP versions simultaneously
<?php $in = [ ['2nd' => 'two', 'four' => '4th'], 'three' => '3rd', ['one' => '1st'], '10th' => 'ten', ['6th' => 'six'], '5th' => 'five', 'seven' => '7th', ['fourteen' => '14th', '11th' => 'eleven'], ['8th' => 'eight'], 'thirteen' => '13th', '12th' => 'twelve', 'nine' => '9th', ['15th' => 'fifteen'], ]; // 以下と同じ配列を $in から作って出力してください // // [ // '1st' => 'one', // '2nd' => 'two', // '3rd' => 'three', // '4th' => 'four', // '5th' => 'five', // '6th' => 'six', // '7th' => 'seven', // '8th' => 'eight', // '9th' => 'nine', // '10th' => 'ten', // '11th' => 'eleven', // '12th' => 'twelve', // '13th' => 'thirteen', // '14th' => 'fourteen', // '15th' => 'fifteen', // ]
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WusHN
function name:  (null)
number of ops:  2
compiled vars:  !0 = $in
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   37     1      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
13.01 ms | 409 KiB | 7 Q