Skip to content

Instantly share code, notes, and snippets.

@rufinus
Last active December 10, 2015 00:48
Show Gist options
  • Select an option

  • Save rufinus/4353458 to your computer and use it in GitHub Desktop.

Select an option

Save rufinus/4353458 to your computer and use it in GitHub Desktop.
echo '<pre>';
var_dump($adverts[0]);
\Doctrine\Common\Util\Debug::dump($adverts[0]);
echo '</pre>';
array
0 =>
array
'advertId' => int 14
'fordate' =>
object(DateTime)[676]
public 'date' => string '2012-12-03 00:00:00' (length=19)
public 'timezone_type' => int 3
public 'timezone' => string 'Europe/Berlin' (length=13)
'created' =>
object(DateTime)[638]
public 'date' => string '2012-11-30 14:54:28' (length=19)
public 'timezone_type' => int 3
public 'timezone' => string 'Europe/Berlin' (length=13)
'publication_id' => string '6' (length=1)
'advert_type_id' => string '1' (length=1)
'mandator_id' => string '1' (length=1)
'amount' => string '3' (length=1)
array
0 =>
array
'advertId' => int 14
'fordate' => string 'DateTime' (length=8)
'created' => string 'DateTime' (length=8)
'publication_id' => string '6' (length=1)
'advert_type_id' => string '1' (length=1)
'mandator_id' => string '1' (length=1)
'amount' => string '3' (length=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment