3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( array( "users" => array( "email" => "test@yahoo.com ,testuser@yahoo.com" , "username" => "test,testuser", "description" => "description1,description2" ), ), array( "users" => array( "email" => "test@yahaaaoo.com ,testuser@yaaaahoo.com" , "username" => "tedddst,teddddtuser", "description" => "descr222iption1,des222cription2" ), ) ); foreach($array as $users) { foreach($users as &$value) { $users['users']["email"] = explode(",", $value['email']); $users['users']["username"] = explode(",", $value['username']); $users['users']["description"] = explode(",", $value['description']); } } print_r($value);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 32
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 32
Branch analysis from position: 3
2 jumps found. (Code = 125) Position 1 = 4, Position 2 = 30
Branch analysis from position: 4
2 jumps found. (Code = 126) Position 1 = 5, Position 2 = 30
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 30
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 30
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 32
filename:       /in/pvTYW
function name:  (null)
number of ops:  37
compiled vars:  !0 = $array, !1 = $users, !2 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   23     1      > FE_RESET_R                                       $4      !0, ->32
          2    > > FE_FETCH_R                                               $4, !1, ->32
   24     3    > > FE_RESET_RW                                      $5      !1, ->30
          4    > > FE_FETCH_RW                                              $5, !2, ->30
   25     5    >   INIT_FCALL                                               'explode'
          6        SEND_VAL                                                 '%2C'
          7        FETCH_DIM_R                                      ~8      !2, 'email'
          8        SEND_VAL                                                 ~8
          9        DO_ICALL                                         $9      
         10        FETCH_DIM_W                                      $6      !1, 'users'
         11        ASSIGN_DIM                                               $6, 'email'
         12        OP_DATA                                                  $9
   26    13        INIT_FCALL                                               'explode'
         14        SEND_VAL                                                 '%2C'
         15        FETCH_DIM_R                                      ~12     !2, 'username'
         16        SEND_VAL                                                 ~12
         17        DO_ICALL                                         $13     
         18        FETCH_DIM_W                                      $10     !1, 'users'
         19        ASSIGN_DIM                                               $10, 'username'
         20        OP_DATA                                                  $13
   27    21        INIT_FCALL                                               'explode'
         22        SEND_VAL                                                 '%2C'
         23        FETCH_DIM_R                                      ~16     !2, 'description'
         24        SEND_VAL                                                 ~16
         25        DO_ICALL                                         $17     
         26        FETCH_DIM_W                                      $14     !1, 'users'
         27        ASSIGN_DIM                                               $14, 'description'
         28        OP_DATA                                                  $17
   24    29      > JMP                                                      ->4
         30    >   FE_FREE                                                  $5
   23    31      > JMP                                                      ->2
         32    >   FE_FREE                                                  $4
   31    33        INIT_FCALL                                               'print_r'
         34        SEND_VAR                                                 !2
         35        DO_ICALL                                                 
         36      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.77 ms | 1392 KiB | 17 Q