com php-src: fixed typo and few grammar mistakes: Zend/RFCs/003.txt

From: Date: Fri, 18 Oct 2013 02:00:40 +0000
Subject: com php-src: fixed typo and few grammar mistakes: Zend/RFCs/003.txt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-73699@lists.php.net to get a copy of this message
Commit: 6b90f237879563497c888024947eb6064fb1b51c Author: ArunSK <arunsk.tec@gmail.com> Thu, 17 Oct 2013 22:00:40 -0400 Parents: 5e368b76ed985a50004126aeba4aaf5dae53aab8 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6b90f237879563497c888024947eb6064fb1b51c Log: fixed typo and few grammar mistakes Changed paths: M Zend/RFCs/003.txt Diff: diff --git a/Zend/RFCs/003.txt b/Zend/RFCs/003.txt index 30fb4ce..ac04218 100644 --- a/Zend/RFCs/003.txt +++ b/Zend/RFCs/003.txt @@ -9,11 +9,11 @@ Modified: 2001-09-17 1. Background/Need ================== -Many internal function of PHP will reject parameters because of their +Many internal functions of PHP will reject parameters because of their type (the array and variable function come to mind). For userland this is not an easy task as there is no uniform way to do it. An addition to the engine for requiring loose types would allow -delevopers to know that the data passed to their functions is of the +developers to know that the data passed to their functions are of the correct type and reduce the need for duplicating the same code in every function to check for the type of data. @@ -57,7 +57,7 @@ function foo (array $var){ =========== Mis-matches in type should be reported as fatal errors and should halt -the execution of a script as that function can not be run and code +the execution of a script as that function cannot be run and code following could not reliably run.

« previous php.cvs (#73699) next »