I don’t get this… and I guess it doesn’t matter that much, but if someone has an explanation, let me know
[root@vm-202-167-238-17 ~]# cat test.php; for d in A B C; do echo "——"; ./test.php $d; done;
#!/usr/bin/php
<?php
$className = $argv[1];
class A
{
public function __get($a)
{
return 5;
}
}
class B
{
public $a = 5;
}
class C
{
public function __get($a)
{
$this->a = 5;
return 5;
}
}
$a = [...]
Yes, I have not been writing a lot. Very sorry about this… I have been so busy lately.
Here is the reason: http://www.micky2be.com/4111/sekai-camera-kaboom
We have been developing the world first social augmented reality game. Micky, a collegue at Wizcorp, has published on his blog a great presentation about Ka-Boom! – a real-world plant-and-defuse bomb game, available through [...]
I have been working with CodeIgniter for a while, for a personal project of mine. Here is the current model all my other model are extending – its a nice way to wrap up the basic standard ways of making certain operations for all models. Following are some notes concerning that code.
class M_core extends Model [...]