Skip to content

Instantly share code, notes, and snippets.

@jeremyFreeAgent
Created October 12, 2012 16:30
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 jeremyFreeAgent/3880114 to your computer and use it in GitHub Desktop.
Save jeremyFreeAgent/3880114 to your computer and use it in GitHub Desktop.
test judy
<?php
$judy = new Judy(Judy::INT_TO_MIXED);
$ids = array(13003, 404, 13);
foreach ($ids as $id) {
$judy[$id] = new DateTime;
}
echo count($judy);
foreach ($judy as $id => $element) {
echo '[' . $id . ']';
}
echo '.';
echo 'ok';
die;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment