function main() { $foo = new Foo(); for ($i = 0; $i < 100; $i++) { asdf(new Foo()); asdf(array()); } }
public function f4() { $foo = asdf(); }
<?php namespace Aitor; function asdf() { echo '5'; } namespace Jimmy; function asdf() { echo '6'; } asdf(); \Aitor\asdf();
//var_dump($a); die; require_once 'utils/Problems.php'; $p = new Problem('/home/ilya/tmp/probs/prob.zip'); var_dump($p->getClientPlugin()); var_dump($p->getServerPlugin()); //var_dump($p->getProblemBytes()); var_dump($p->getResource('ANSWER')); var_dump($p->isTeacher('EXE')); var_dump($p->isTeacher('ANSWER')); var_dump($p->getResource('STATEMENT')); die; echo $_SERVER['DOCUMENT_ROOT']; die; $s = 'asdf'; $i = $s . asdf(); var_dump($i); die; class B { } $a = new B(); $a->b = new B(); $a->b->c = "42"; var_dump($a); var_dump($a->b); var_dump($a->b->c); die; require "utils/DataBase.php"; $dces_mysql_host = "localhost:3306"; $dces_mysql_user = "******";