diff options
Diffstat (limited to 'ext/standard/tests/strings/strval_variation1.phpt')
-rw-r--r-- | ext/standard/tests/strings/strval_variation1.phpt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/ext/standard/tests/strings/strval_variation1.phpt b/ext/standard/tests/strings/strval_variation1.phpt index 430a4362bd..2eb665631e 100644 --- a/ext/standard/tests/strings/strval_variation1.phpt +++ b/ext/standard/tests/strings/strval_variation1.phpt @@ -3,7 +3,7 @@ Test strval() function : usage variations - Pass different data types as strval --FILE-- <?php /* Prototype : string strval ( mixed $var ) - * Description: Get the string value of a variable. + * Description: Get the string value of a variable. * Source code: ext/standard/string.c */ @@ -32,53 +32,53 @@ $values = array( 1, 12345, -12345, - + //Octal values /*5*/ 02, 010, 030071, -030071, - + //Hexadecimal values /*9*/ 0x0, 0x1, 0xABCD, -0xABCD, - + // float data /*13*/ 100.5, -100.5, 100.1234567e10, 100.7654321E-10, .5, - + // array data /*18*/ array(), array('color' => 'red', 'item' => 'pen'), - + // null data /*20*/ NULL, null, - + // boolean data /*22*/ true, false, TRUE, FALSE, - + // empty data /*26*/ "", '', - + // object data /*28*/ new MyClass(), - + // resource -/*29*/ $file_handle, - +/*29*/ $file_handle, + // undefined data /*30*/ @$undefined_var, - + // unset data /*31*/ @$unset_var, ); |