diff options
Diffstat (limited to 'ext/standard/tests/strings/strtr_variation5.phpt')
-rw-r--r-- | ext/standard/tests/strings/strtr_variation5.phpt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ext/standard/tests/strings/strtr_variation5.phpt b/ext/standard/tests/strings/strtr_variation5.phpt index c90e028069..fc5f2f5911 100644 --- a/ext/standard/tests/strings/strtr_variation5.phpt +++ b/ext/standard/tests/strings/strtr_variation5.phpt @@ -8,8 +8,8 @@ Test strtr() function : usage variations - unexpected inputs for 'str' argument * Source code: ext/standard/string.c */ -/* Test strtr() function: with unexpected inputs for 'str' - * and expected type for 'from' & 'to' arguments +/* Test strtr() function: with unexpected inputs for 'str' + * and expected type for 'from' & 'to' arguments */ echo "*** Testing strtr() function: with unexpected inputs for 'str' ***\n"; @@ -22,7 +22,7 @@ unset($unset_var); class sample { public function __toString() { return "sample object"; - } + } } //getting the resource @@ -35,36 +35,36 @@ $strings = array ( /*1*/ 0, 1, -2, - + // float values /*4*/ 10.5, -20.5, 10.1234567e10, - + // array values /*7*/ array(), array(0), array(1, 2), - + // boolean values /*10*/ true, false, TRUE, FALSE, - + // null vlaues /*14*/ NULL, null, - + // objects /*16*/ new sample(), - + // resource /*17*/ $file_handle, - + // undefined variable /*18*/ @$undefined_var, - + // unset variable /*19*/ @$unset_var ); |