typo fixes (argument)

This commit is contained in:
Veres Lajos 2013-04-22 14:05:24 +01:00 committed by Stanislav Malyshev
parent ed2e84e239
commit 04145dc2aa
54 changed files with 56 additions and 56 deletions

View file

@ -461,7 +461,7 @@ ZEND_API extern const zend_fcall_info_cache empty_fcall_info_cache;
*/ */
ZEND_API int zend_fcall_info_init(zval *callable, uint check_flags, zend_fcall_info *fci, zend_fcall_info_cache *fcc, char **callable_name, char **error TSRMLS_DC); ZEND_API int zend_fcall_info_init(zval *callable, uint check_flags, zend_fcall_info *fci, zend_fcall_info_cache *fcc, char **callable_name, char **error TSRMLS_DC);
/** Clear argumens connected with zend_fcall_info *fci /** Clear arguments connected with zend_fcall_info *fci
* If free_mem is not zero then the params array gets free'd as well * If free_mem is not zero then the params array gets free'd as well
*/ */
ZEND_API void zend_fcall_info_args_clear(zend_fcall_info *fci, int free_mem); ZEND_API void zend_fcall_info_args_clear(zend_fcall_info *fci, int free_mem);
@ -499,7 +499,7 @@ ZEND_API int zend_fcall_info_argv(zend_fcall_info *fci TSRMLS_DC, int argc, va_l
ZEND_API int zend_fcall_info_argn(zend_fcall_info *fci TSRMLS_DC, int argc, ...); ZEND_API int zend_fcall_info_argn(zend_fcall_info *fci TSRMLS_DC, int argc, ...);
/** Call a function using information created by zend_fcall_info_init()/args(). /** Call a function using information created by zend_fcall_info_init()/args().
* If args is given then those replace the arguement info in fci is temporarily. * If args is given then those replace the argument info in fci is temporarily.
*/ */
ZEND_API int zend_fcall_info_call(zend_fcall_info *fci, zend_fcall_info_cache *fcc, zval **retval, zval *args TSRMLS_DC); ZEND_API int zend_fcall_info_call(zend_fcall_info *fci, zend_fcall_info_cache *fcc, zval **retval, zval *args TSRMLS_DC);

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Check that bad argumens return the same Check that bad arguments return the same
--SKIPIF-- --SKIPIF--
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
--FILE-- --FILE--

View file

@ -591,7 +591,7 @@ some of the new functionality in Perl 5.005.
Another (I hope this is the last!) change has been made to the API for the Another (I hope this is the last!) change has been made to the API for the
pcre_compile() function. An additional argument has been added to make it pcre_compile() function. An additional argument has been added to make it
possible to pass over a pointer to character tables built in the current possible to pass over a pointer to character tables built in the current
locale by pcre_maketables(). To use the default tables, this new arguement locale by pcre_maketables(). To use the default tables, this new argument
should be passed as NULL. should be passed as NULL.
IMPORTANT FOR THOSE UPGRADING FROM VERSION 2.05 IMPORTANT FOR THOSE UPGRADING FROM VERSION 2.05

View file

@ -93544,7 +93544,7 @@ static u8 minMaxQuery(Select *p){
/* /*
** The select statement passed as the first argument is an aggregate query. ** The select statement passed as the first argument is an aggregate query.
** The second argment is the associated aggregate-info object. This ** The second argument is the associated aggregate-info object. This
** function tests if the SELECT is of the form: ** function tests if the SELECT is of the form:
** **
** SELECT count(*) FROM <tbl> ** SELECT count(*) FROM <tbl>

View file

@ -94,7 +94,7 @@ var_dump( current($temp_array, $temp_array) );
var_dump( reset($temp_array, $temp_array) ); var_dump( reset($temp_array, $temp_array) );
var_dump( next($temp_array, $temp_array) ); var_dump( next($temp_array, $temp_array) );
// invalid args type, valid arguement: array // invalid args type, valid argument: array
$int_var = 1; $int_var = 1;
$float_var = 1.5; $float_var = 1.5;
$string = "string"; $string = "string";

View file

@ -20,7 +20,7 @@ var_dump( array_fill_keys($keys, $val, $extra_arg) );
echo "\n-- Testing array_fill_keys() function with less than expected no. of arguments --\n"; echo "\n-- Testing array_fill_keys() function with less than expected no. of arguments --\n";
var_dump( array_fill_keys($keys) ); var_dump( array_fill_keys($keys) );
echo "\n-- Testing array_fill_keys() function with no argumets --\n"; echo "\n-- Testing array_fill_keys() function with no arguments --\n";
var_dump( array_fill_keys() ); var_dump( array_fill_keys() );
echo "Done"; echo "Done";
@ -38,7 +38,7 @@ NULL
Warning: array_fill_keys() expects exactly 2 parameters, 1 given in %sarray_fill_keys_error.php on line %d Warning: array_fill_keys() expects exactly 2 parameters, 1 given in %sarray_fill_keys_error.php on line %d
NULL NULL
-- Testing array_fill_keys() function with no argumets -- -- Testing array_fill_keys() function with no arguments --
Warning: array_fill_keys() expects exactly 2 parameters, 0 given in %sarray_fill_keys_error.php on line %d Warning: array_fill_keys() expects exactly 2 parameters, 0 given in %sarray_fill_keys_error.php on line %d
NULL NULL

View file

@ -79,7 +79,7 @@ echo "\n*** Testing array_merge() with typecasting non-array to array ***\n";
var_dump(array_merge($begin_array[4], (array)"type1", (array)10, (array)12.34)); var_dump(array_merge($begin_array[4], (array)"type1", (array)10, (array)12.34));
echo "\n*** Testing error conditions ***"; echo "\n*** Testing error conditions ***";
/* Invalid argumens */ /* Invalid arguments */
var_dump(array_merge()); var_dump(array_merge());
var_dump(array_merge(100, 200)); var_dump(array_merge(100, 200));
var_dump(array_merge($begin_array[0], $begin_array[1], 100)); var_dump(array_merge($begin_array[0], $begin_array[1], 100));

View file

@ -25,7 +25,7 @@ function test_alter(&$item, $key, $prefix)
// with proper type // with proper type
var_dump($item); // value var_dump($item); // value
var_dump($key); // key var_dump($key); // key
var_dump($prefix); // additional agument passed to callback function var_dump($prefix); // additional argument passed to callback function
echo "\n"; // new line to separate the output between each element echo "\n"; // new line to separate the output between each element
} }

View file

@ -25,7 +25,7 @@ function test_alter(&$item, $key, $prefix)
// with proper type // with proper type
var_dump($item); // value var_dump($item); // value
var_dump($key); // key var_dump($key); // key
var_dump($prefix); // additional agument passed to callback function var_dump($prefix); // additional argument passed to callback function
echo "\n"; // new line to separate the output between each element echo "\n"; // new line to separate the output between each element
} }

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test class_exists() function : usage variations - unexpected types for agument 1 Test class_exists() function : usage variations - unexpected types for argument 1
--FILE-- --FILE--
<?php <?php
/* Prototype : proto bool class_exists(string classname [, bool autoload]) /* Prototype : proto bool class_exists(string classname [, bool autoload])

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test class_exists() function : usage variations - unexpected types for agument 2 Test class_exists() function : usage variations - unexpected types for argument 2
--FILE-- --FILE--
<?php <?php
/* Prototype : proto bool class_exists(string classname [, bool autoload]) /* Prototype : proto bool class_exists(string classname [, bool autoload])

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test trait_exists() function : usage variations - unexpected types for agument 1 Test trait_exists() function : usage variations - unexpected types for argument 1
--FILE-- --FILE--
<?php <?php
/* Prototype : proto bool trait_exists(string traitname [, bool autoload]) /* Prototype : proto bool trait_exists(string traitname [, bool autoload])

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test trait_exists() function : usage variations - unexpected types for agument 2 Test trait_exists() function : usage variations - unexpected types for argument 2
--FILE-- --FILE--
<?php <?php
/* Prototype : proto bool trait_exists(string traitname [, bool autoload]) /* Prototype : proto bool trait_exists(string traitname [, bool autoload])

View file

@ -23,7 +23,7 @@ Test fileatime(), filemtime(), filectime() & touch() functions : error condition
echo "*** Testing error conditions ***\n"; echo "*** Testing error conditions ***\n";
echo "\n-- Testing with Non-existing files --"; echo "\n-- Testing with Non-existing files --";
/* Both invalid argumetns */ /* Both invalid arguments */
var_dump( fileatime("/no/such/file/or/dir") ); var_dump( fileatime("/no/such/file/or/dir") );
var_dump( filemtime("/no/such/file/or/dir") ); var_dump( filemtime("/no/such/file/or/dir") );
var_dump( filectime("/no/such/file/or/dir") ); var_dump( filectime("/no/such/file/or/dir") );

View file

@ -16,10 +16,10 @@ var_dump( fileinode("/no/such/file/dir") );
var_dump( fileinode("string") ); var_dump( fileinode("string") );
var_dump( fileinode(100) ); var_dump( fileinode(100) );
/* No.of argumetns less than expected */ /* No.of arguments less than expected */
var_dump( fileinode() ); var_dump( fileinode() );
/* No.of argumetns greater than expected */ /* No.of arguments greater than expected */
var_dump( fileinode(__FILE__, "string") ); var_dump( fileinode(__FILE__, "string") );
echo "\n*** Done ***"; echo "\n*** Done ***";

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function fstat() by substituting agument 1 with array values. Test function fstat() by substituting argument 1 with array values.
--FILE-- --FILE--
<?php <?php
$index_array = array(1, 2, 3); $index_array = array(1, 2, 3);

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function fstat() by substituting agument 1 with boolean values. Test function fstat() by substituting argument 1 with boolean values.
--FILE-- --FILE--
<?php <?php
$variation_array = array( $variation_array = array(

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function fstat() by substituting agument 1 with emptyUnsetUndefNull values. Test function fstat() by substituting argument 1 with emptyUnsetUndefNull values.
--FILE-- --FILE--
<?php <?php
$unset_var = 10; $unset_var = 10;

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function fstat() by substituting agument 1 with float values. Test function fstat() by substituting argument 1 with float values.
--FILE-- --FILE--
<?php <?php
$variation_array = array( $variation_array = array(

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function fstat() by substituting agument 1 with int values. Test function fstat() by substituting argument 1 with int values.
--FILE-- --FILE--
<?php <?php
$variation_array = array ( $variation_array = array (

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function fstat() by substituting agument 1 with object values. Test function fstat() by substituting argument 1 with object values.
--FILE-- --FILE--
<?php <?php

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function fstat() by substituting agument 1 with string values. Test function fstat() by substituting argument 1 with string values.
--FILE-- --FILE--
<?php <?php
$heredoc = <<<EOT $heredoc = <<<EOT

View file

@ -10,7 +10,7 @@ Test chunk_split() function : error conditions
/* /*
* Testing error conditions of chunk_split() with zero arguments * Testing error conditions of chunk_split() with zero arguments
* and for more than expected number of argments * and for more than expected number of arguments
*/ */
echo "*** Testing chunk_split() : error conditions ***\n"; echo "*** Testing chunk_split() : error conditions ***\n";

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function gzfile() by substituting agument 1 with array values. Test function gzfile() by substituting argument 1 with array values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function gzfile() by substituting agument 2 with emptyUnsetUndefNull values. Test function gzfile() by substituting argument 2 with emptyUnsetUndefNull values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function gzfile() by substituting agument 2 with float values. Test function gzfile() by substituting argument 2 with float values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function gzfile() by substituting agument 2 with int values. Test function gzfile() by substituting argument 2 with int values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function gzfile() by substituting agument 2 with object values. Test function gzfile() by substituting argument 2 with object values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function gzfile() by substituting agument 2 with string values. Test function gzfile() by substituting argument 2 with string values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function gzfile() by substituting agument 1 with boolean values. Test function gzfile() by substituting argument 1 with boolean values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function gzfile() by substituting agument 1 with emptyUnsetUndefNull values. Test function gzfile() by substituting argument 1 with emptyUnsetUndefNull values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function gzfile() by substituting agument 1 with float values. Test function gzfile() by substituting argument 1 with float values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded(zlib)) die ('skip zlib extension not available in this build'); if (!extension_loaded(zlib)) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function gzfile() by substituting agument 1 with int values. Test function gzfile() by substituting argument 1 with int values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function gzfile() by substituting agument 1 with object values. Test function gzfile() by substituting argument 1 with object values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function gzfile() by substituting agument 1 with string values. Test function gzfile() by substituting argument 1 with string values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function gzfile() by substituting agument 2 with array values. Test function gzfile() by substituting argument 2 with array values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function gzfile() by substituting agument 2 with boolean values. Test function gzfile() by substituting argument 2 with boolean values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function readgzfile() by substituting agument 1 with array values. Test function readgzfile() by substituting argument 1 with array values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function readgzfile() by substituting agument 2 with emptyUnsetUndefNull values. Test function readgzfile() by substituting argument 2 with emptyUnsetUndefNull values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function readgzfile() by substituting agument 2 with float values. Test function readgzfile() by substituting argument 2 with float values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function readgzfile() by substituting agument 2 with int values. Test function readgzfile() by substituting argument 2 with int values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function readgzfile() by substituting agument 2 with object values. Test function readgzfile() by substituting argument 2 with object values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function readgzfile() by substituting agument 2 with string values. Test function readgzfile() by substituting argument 2 with string values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function readgzfile() by substituting agument 1 with boolean values. Test function readgzfile() by substituting argument 1 with boolean values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function readgzfile() by substituting agument 1 with emptyUnsetUndefNull values. Test function readgzfile() by substituting argument 1 with emptyUnsetUndefNull values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function readgzfile() by substituting agument 1 with float values. Test function readgzfile() by substituting argument 1 with float values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded(zlib)) die ('skip zlib extension not available in this build'); if (!extension_loaded(zlib)) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function readgzfile() by substituting agument 1 with int values. Test function readgzfile() by substituting argument 1 with int values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function readgzfile() by substituting agument 1 with object values. Test function readgzfile() by substituting argument 1 with object values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function readgzfile() by substituting agument 1 with string values. Test function readgzfile() by substituting argument 1 with string values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function readgzfile() by substituting agument 2 with array values. Test function readgzfile() by substituting argument 2 with array values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -1,5 +1,5 @@
--TEST-- --TEST--
Test function readgzfile() by substituting agument 2 with boolean values. Test function readgzfile() by substituting argument 2 with boolean values.
--SKIPIF-- --SKIPIF--
<?php <?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build'); if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');

View file

@ -10,7 +10,7 @@
; files from a glob(3) pattern. This directive can be used everywhere in the ; files from a glob(3) pattern. This directive can be used everywhere in the
; file. ; file.
; Relative path can also be used. They will be prefixed by: ; Relative path can also be used. They will be prefixed by:
; - the global prefix if it's been set (-p arguement) ; - the global prefix if it's been set (-p argument)
; - @prefix@ otherwise ; - @prefix@ otherwise
;include=etc/fpm.d/*.conf ;include=etc/fpm.d/*.conf

Binary file not shown.

View file

@ -19,7 +19,7 @@ class gtFunction extends gtTestSubject {
/** /**
* Get the names of function argments and initialise mandatory and optional argument arrays * Get the names of function arguments and initialise mandatory and optional argument arrays
* *
*/ */
public function setArgumentNames() { public function setArgumentNames() {