Skip to content

Instantly share code, notes, and snippets.

View bramstroker's full-sized avatar

Bram Gerritsen bramstroker

View GitHub Profile
/**
* @return AbstractOptions
*/
public function getOptions()
{
return $this->options;
}
/**
* @param array $options
array (size=4)
'invokableClasses' =>
array (size=4)
0 => string 'sharedeventmanager' (length=18)
1 => string 'dispatchlistener' (length=16)
2 => string 'routelistener' (length=13)
3 => string 'sendresponselistener' (length=20)
'factories' =>
array (size=42)
0 => string 'eventmanager' (length=12)
{
"name": "zendframework/skeleton-application",
"description": "Skeleton Application for ZF2",
"license": "BSD-3-Clause",
"keywords": [
"framework",
"zf2"
],
"homepage": "http://framework.zend.com/",
"require": {
return array(
'controllers' => array(
'invokables' => array(
'Application\Controller\User' => 'Application\Controller\UserController'
)
)
);
'router' => array(
'routes' => array(
'home' => array(
'type' => 'Zend\Mvc\Router\Http\Literal',
'options' => array(
'route' => '/',
'defaults' => array(
'__NAMESPACE__' => 'Application\Controller',
'controller' => 'Index',
'action' => 'index',
@bramstroker
bramstroker / euler1
Last active August 29, 2015 13:57
euler
$x = 0;
for ($i=1; $i<1000; $i++) {
if ($i % 3 == 0 || $i % 5 == 0) {
$x += $i;
}
}
var_dump($x);
object(distribProposals2Type)#315 (1) {
["distribProposal"]=>
object(distribProposal2Type)#312 (14) {
["etab_id"]=>
string(4) "5038"
["etab_name"]=>
string(15) "EDEN (30) *****"
["room_type_code"]=>
string(4) "MP46"
["room_type_label"]=>
object(distribProposals2Type)#315 (1) {
["distribProposal"]=>
object(distribProposal2Type)#312 (14) {
["etab_id"]=>
string(4) "5038"
["etab_name"]=>
string(15) "EDEN (30) *****"
["room_type_code"]=>
string(4) "MP46"
["room_type_label"]=>
[exec] Problem 1
[exec] - zendframework/zend-crypt 2.1.4 requires zendframework/zend-math 2.1.4 -> no matching package found.
[exec] - zf-commons/zfc-base 0.1.0 requires zendframework/zendframework 2.1.* -> no matching package found.
[exec] - zf-commons/zfc-base 0.0.1 requires zendframework/zendframework 2.0.* -> no matching package found.
[exec] - zf-commons/zfc-user 0.1.0 requires zendframework/zendframework 2.1.* -> no matching package found.
[exec] - zf-commons/zfc-user 0.0.1 requires zendframework/zendframework 2.0.* -> no matching package found.
[exec] - Installation request for zendframework/zendframework 2.3.0 -> satisfiable by zendframework/zendframework[2.3.0].
[exec] - acsi/acsi-cms-user dev-trunk requires zf-commons/zfc-user-doctrine-orm 0.1.3 -> satisfiable by zf-commons/zfc-user-doctrine-orm[0.1.3].
[exec] - zf-commons/zfc-base 0.1.1 requires zendframework/zend-db 2.1.* -> satisfiable by zendframework/zend-db[2.1.0, 2.1.1,
style>body{background:#FFF;line-height:16px;text-align:left !important;}body,div,table,td,span{color:#000;font-family:Verdana,Helvetica,sans-serif,Arial;font-size:11px;letter-spacing:0}a{color:#1aa149;text-decoration:underline}a:hover{color:#1aa149;text-decoration:underline}a img{border:0}:focus{outline:0}table{}th{padding:0px 75px 0px 0px;text-align:left;vertical-align:top;font-weight:bold}td{padding:0;vertical-align:top}</style><table cellspacing="0" cellpadding="0" border="0"><tr><th>Error</th><td>[0::]:</td></tr><tr><th>Message</th><td> ERROR - parse_ini_file(abl/operators/config/ini/scvacdir.ini) [<a href='function.parse-ini-file'>function.parse-ini-file</a>]: failed to open stream: No such file or directory</td></tr><tr><th>File</th><td> /sandata/data/www/lib/libs/Zend_new/Config/Ini.php</td></tr><tr><th>Line No.</th><td>181</td></tr><tr><th>URL</th><td> /phplib/dataservice/abl/bookproces.php</td></tr><tr><th>QUERY STRING</th><td> </td></tr><tr><th>REFERER</th><td> https://www.suncamp