3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array( array( 'url' => 'ellen.com', 'des' => 'w', 'size' => '850' ), array( 'url' => 'ellen.com', 'des' => 'w', 'size' => '640' ), array( 'url' => 'ellen.com', 'des' => 'w', 'size' => '330' ), array( 'url' => 'ellen.com', 'des' => 'w', 'size' => '240' ) ); foreach ( $value as $input ) { $srcset .= $input['url'] . ' ' . $input['size'] . $input['des'] . ', '; } // echo implode(', ', array_map(function ($entry) { // return $entry['url'] . ' ' . $entry['size'] . $entry['des']; // }, $input));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 12
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 12
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/GbAUk
function name:  (null)
number of ops:  14
compiled vars:  !0 = $input, !1 = $value, !2 = $srcset
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   24     1      > FE_RESET_R                                       $4      !1, ->12
          2    > > FE_FETCH_R                                               $4, !0, ->12
   25     3    >   FETCH_DIM_R                                      ~5      !0, 'url'
          4        CONCAT                                           ~6      ~5, '+'
          5        FETCH_DIM_R                                      ~7      !0, 'size'
          6        CONCAT                                           ~8      ~6, ~7
          7        FETCH_DIM_R                                      ~9      !0, 'des'
          8        CONCAT                                           ~10     ~8, ~9
          9        CONCAT                                           ~11     ~10, '%2C+'
         10        ASSIGN_OP                                     8          !2, ~11
   24    11      > JMP                                                      ->2
         12    >   FE_FREE                                                  $4
   29    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.84 ms | 1384 KiB | 13 Q