This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Converts Roman numbers to integers | |
*/ | |
class Roman | |
{ | |
/** | |
* @var array | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ... */ | |
public function buildForm(FormBuilder $builder, array $options) | |
{ | |
$builder->addEventListener(FormEvents::PRE_SET_DATA, | |
function (DataEvent $event) use ($builder) | |
{ | |
$form = $event->getForm(); | |
/* @var \Sperrobjekt\Sf2ttBundle\Entity\Category $data */ | |
$data = $event->getData(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (extension_loaded('xdebug')) { | |
echo "WARNING: xdebug is enabled\n"; | |
} | |
function _count() | |
{ | |
$array = array(1, 5, 8, 'Michael', 5, 4, 9, 'Martin', 18, 12, 'Michael', 4, 12); |
NewerOlder