diff options
Diffstat (limited to 'ext/standard/tests/strings/str_pad_variation3.phpt')
-rw-r--r-- | ext/standard/tests/strings/str_pad_variation3.phpt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/standard/tests/strings/str_pad_variation3.phpt b/ext/standard/tests/strings/str_pad_variation3.phpt index c277eb756b..b9209e6657 100644 --- a/ext/standard/tests/strings/str_pad_variation3.phpt +++ b/ext/standard/tests/strings/str_pad_variation3.phpt @@ -7,7 +7,7 @@ Test str_pad() function : usage variations - unexpected inputs for '$pad_string' * Source code: ext/standard/string.c */ -/* Test str_pad() function: with unexpected inputs for '$pad_string' +/* Test str_pad() function: with unexpected inputs for '$pad_string' * and expected type for '$input' and '$pad_length' */ @@ -21,7 +21,7 @@ unset($unset_var); class sample { public function __toString() { return "sample object"; - } + } } //getting the resource @@ -36,36 +36,36 @@ $pad_strings = array ( -2, 2147483647, -2147483648, - + // float values /*6*/ 10.5, -20.5, 10.1234567e10, - + // array values /*9*/ array(), array(0), array(1, 2), - + // boolean values /*12*/ true, false, TRUE, FALSE, - + // null vlaues /*16*/ NULL, null, - + // objects /*18*/ new sample(), - + // resource /*19*/ $file_handle, - + // undefined variable /*20*/ @$undefined_var, - + // unset variable /*21*/ @$unset_var ); |