Skip to content

Instantly share code, notes, and snippets.

@KnowTheCodePro
Created February 16, 2016 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KnowTheCodePro/171738b2776c9c70f1ab to your computer and use it in GitHub Desktop.
Save KnowTheCodePro/171738b2776c9c70f1ab to your computer and use it in GitHub Desktop.
PHP Array - Deep into Structure
<?php
namespace KnowTheCode;
$fruit = array(
'apples',
'oranges',
'pears',
);
$members = array(
'number_of_members' => 547,
array(
'first_name' => 'Tonya',
'Twitter' => 'hellofromTonya',
'years_experience' => 30,
),
array(
'first_name' => 'Bob',
'Twitter' => 'bobsmith',
'years_experience' => 2,
),
);
ddd( $fruit[1] );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment