Hi,
I also think this a good proposal, but you might consider writing to the
internals group, as this group is only for discussions and most of the
people that read it are PHP users and have no idea how the language is made
(including me).
Regards,
Emil Ivanov
Jared Farrish [EMAIL PROTECTED]
Jared Farrish wrote:
Hi all,
I am building an assertType object using static functions. What I want to
keep away from is the following:
code
public static function assertString($para){
return $answer;
};
public static function assertBool($para){
return $answer;
};
...
public
Hi all,
Here is more code, with a test case included. What I would prefer to do is
call TypeAssist::$string(), instead of TypeAssist::$a-string(). Or at least
__construct() the $a object.
code
?php
if (!class_exists('TypeAssert')) {
class TypeAssert {
public static $a;
public
3 matches
Mail list logo