Skip to content

Instantly share code, notes, and snippets.

@wsoczynski
Created April 12, 2012 06:48
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 wsoczynski/2365217 to your computer and use it in GitHub Desktop.
Save wsoczynski/2365217 to your computer and use it in GitHub Desktop.
Between Java and PHP - Arrays 1
<?php
$foo = array(
"bar" => 10,
"baz" => "zzz"
);
$foo54 = ["bar" => 10, "baz" => "zzz"]; //valid from php 5.4
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment