Hi Ohmer,

T_PAAMAYIM_NEKUDOTAYIM is the incomprehensible name given to the :: operator. However, if you use the tokenizer extension like so:

<?php
$a = '<?php name::thing() ?>';
$b = token_get_all($a);
echo(token_name($b[3][0]));
?>

You'll see T_DOUBLE_COLON - a much more descriptive name :).

So, look for an accidental double colon, perhaps in a case statement

switch (blah) {
    case something ::

}

Regards,
Greg

Ohmer wrote:

does someone know wtf this message means ?

Parse error: parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM

i hope my fbsd box isnt haunted or controled by a daemon...




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to