Skip to content

Instantly share code, notes, and snippets.

@lornajane
Created May 28, 2012 15:08
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 lornajane/2819635 to your computer and use it in GitHub Desktop.
Save lornajane/2819635 to your computer and use it in GitHub Desktop.
Multidimensional Array
<?php
$events[] = array(
"name" => "phpDay 2012",
"start_date" => "2012-05-18T00:00:00+02:00",
"end_date" => "2012-05-19T23:59:59+02:00",
"description" => "The GrUSP, the Italian PHP user group, organises the 8th phpDay, a conference dedicated to PHP for the enterprise.",
"href" => "http://www.phpday.it",
"hosts" => array(
"Daniel Londero",
"cirpo",
"Francesco Fullone",
"Cesare D'Amico",
"Massimiliano Arione",
"Riccardo"
),
"talks" => array(
array(
"talk_title" => "Scalable architectures: Taming the Twitter Firehose",
"start_date" => "2012-05-18T14:30:00+02:00",
"average_rating" => "5",
),
array(
"talk_title" => "BDD : Buzzword driven development. Build the next cool app (for fun and for… fun)",
"start_date" => "2012-05-18T15:30:00+02:00",
"average_rating" => "5",
),
array(
"talk_title" => "PHP Extensions, why and what?",
"start_date" => "2012-05-18T15:30:00+02:00",
"average_rating" => "5",
),
array(
"talk_title" => "Security at scale: Web application security in a continuous deployment environment",
"start_date" => "2012-05-18T15:30:00+02:00",
"average_rating" => "5",
),
array(
"talk_title" => "Lazy Evaluation: stop wasting memory and time",
"start_date" => "2012-05-18T17:00:00+02:00",
"average_rating" => "4",
)
)
);
$events[] = array(
"name" => "Dutch PHP Conference 2012",
"start_date" => "2012-06-06T23:00:00+02:00",
"end_date" => "2012-06-09T22:59:59+02:00",
"description" => "Ibuildings is proud to organise the sixth Dutch PHP Conference on June 8 and 9, plus a pre-conference tutorial day on June 7. Both programs will be completely in English so the only Dutch thing about it is the location. Keywords for these days: Know-how, Technology, Best Practices, Networking, Tips & Tricks.",
"href" => "http://www.phpconference.nl/",
"talks" => array(
array(
"talk_title" => "Web Services",
"start_date" => "2012-06-07T09:30:00+02:00",
"speaker_name" => "Lorna Jane Mitchell",
"track_name" => "Track 1",
),
array(
"talk_title" => "Acceptance and Integration Testing With Behat",
"start_date" => "2012-06-07T09:30:00+02:00",
"speaker_name" => "Ben Waine",
"track_name" => "Track 2",
),
array(
"talk_title" => "The Agile Toolbox 2012 - Practices",
"start_date" => "2012-06-07T09:30:00+02:00",
"speaker_name" => "Sebastian Schürmann",
"track_name" => "Track 3",
)
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment