cvs: phpdoc /en/reference/info/functions ini-get.xml
| From: | Felipe Pena | Date: | Fri, 06 Jun 2008 11:10:13 +0000 |
| Subject: | cvs: phpdoc /en/reference/info/functions ini-get.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1758@lists.php.net to get a copy of this message | ||
felipe Fri Jun 6 11:10:13 2008 UTC
Modified files:
/phpdoc/en/reference/info/functions ini-get.xml
Log:
- Changed example (syntax {} to [] in string, user note by daniel.egeberg at gmail.com)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/info/functions/ini-get.xml?r1=1.19&r2=1.20&diff_format=u
Index: phpdoc/en/reference/info/functions/ini-get.xml
diff -u phpdoc/en/reference/info/functions/ini-get.xml:1.19
phpdoc/en/reference/info/functions/ini-get.xml:1.20
--- phpdoc/en/reference/info/functions/ini-get.xml:1.19 Mon Aug 20 14:02:44 2007
+++ phpdoc/en/reference/info/functions/ini-get.xml Fri Jun 6 11:10:13 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.19 $ -->
+<!-- $Revision: 1.20 $ -->
<refentry xml:id="function.ini-get" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ini_get</refname>
@@ -65,7 +65,7 @@
function return_bytes($val) {
$val = trim($val);
- $last = strtolower($val{strlen($val)-1});
+ $last = strtolower($val[strlen($val)-1]);
switch($last) {
// The 'G' modifier is available since PHP 5.1.0
case 'g':