Mark Baker Posted August 21, 2009 Share Posted August 21, 2009 I have the following method defined in one of my classes, and I'm trying to do the PHPDocumentor tags /** * Identify whether a string contains a fractional numeric value, * and convert it to a numeric if it is * * @param string $operand string value to test * @return boolean */ public static function convertToNumberIfFraction(&$operand) { if (preg_match('/^'.self::STRING_REGEXP_FRACTION.'$/i', $operand, $match)) { $fractionFormula = '='.$match[1].'+'.$match[2]; $operand = PHPExcel_Calculation::getInstance()->_calculateFormulaValue($fractionFormula); return true; } return false; } // function convertToNumberIfFraction() What I can't find anywhere in the PHPDocumentor documentation is how to identify that a parameter is pass by reference. Does anybody have a solution to this? Quote Link to comment https://forums.phpfreaks.com/topic/171295-phpdocumentor-parameter-pass-by-reference-tag/ Share on other sites More sharing options...
Mark Baker Posted September 1, 2009 Author Share Posted September 1, 2009 dude try this!! www.phpscriptor.comA pretty empty site (links to www.php.net, pear and smarty; and a copy of the PHP manual) doesn't really qualify as a useful site. Have you ever actually posted a real response to anybody's question here on PHPFreaks or on any other forum, or is it always just links to try and promote your empty site? Quote Link to comment https://forums.phpfreaks.com/topic/171295-phpdocumentor-parameter-pass-by-reference-tag/#findComment-910360 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.