From: <var...@us...> - 2021-06-23 17:28:28
|
Revision: 10319 http://sourceforge.net/p/phpwiki/code/10319 Author: vargenau Date: 2021-06-23 17:28:30 +0000 (Wed, 23 Jun 2021) Log Message: ----------- php7:notice PHP Deprecated: Array and string offset access syntax with curly braces is deprecated Modified Paths: -------------- trunk/lib/ASCIIMathPHP/ASCIIMathPHP.class.php Modified: trunk/lib/ASCIIMathPHP/ASCIIMathPHP.class.php =================================================================== --- trunk/lib/ASCIIMathPHP/ASCIIMathPHP.class.php 2021-06-23 17:19:25 UTC (rev 10318) +++ trunk/lib/ASCIIMathPHP/ASCIIMathPHP.class.php 2021-06-23 17:28:30 UTC (rev 10319) @@ -1106,7 +1106,7 @@ } // Reading string for alphabetic constants and the minus sign - $char = $this->_curr_expr{0}; + $char = $this->_curr_expr[0]; $len_left = $chop_flg ? $this->chopExpr(1) : strlen($this->_curr_expr)-1; // Deals with expressions of length 1 @@ -1132,4 +1132,4 @@ return(strlen($this->_curr_expr)); } } -} \ No newline at end of file +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |