On 21 June 2010 00:45, Rick Pasotto r...@niof.net wrote:
Within a class function I have defined another function for use with the
usort() function. How do I reference it?
When it's not part of a class usort($arr,cmp) works fine but when it's
within a class function I get this error:
PHP
Within a class function I have defined another function for use with the
usort() function. How do I reference it?
When it's not part of a class usort($arr,cmp) works fine but when it's
within a class function I get this error:
PHP Parse error: syntax error, unexpected T_STRING, expecting
On Sun, Jun 20, 2010 at 08:47:53PM -0400, Brandon Rampersad wrote:
$this-usort();
self::usort();
On Sun, Jun 20, 2010 at 7:45 PM, Rick Pasotto r...@niof.net wrote:
Within a class function I have defined another function for use with the
usort() function. How do I reference it?
When
3 matches
Mail list logo