From 5cda076cb46e4c3fb79a388718d866afc1972c7e Mon Sep 17 00:00:00 2001 From: Per Gustafsson Date: Wed, 18 Sep 2002 13:38:04 +0000 Subject: [PATCH] - Removing an example and part of a heredoc note (fixes bug #19180) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@96060 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types.xml | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/language/types.xml b/language/types.xml index 722b54040d..b1125daa19 100644 --- a/language/types.xml +++ b/language/types.xml @@ -1,5 +1,5 @@ - + Types @@ -703,23 +703,6 @@ echo 'I am trying to include at this point: \n a newline'; may not be indented, and there may not be any spaces or tabs after or before the semicolon. - - Probably the nastiest gotcha is that there may also - not be a carriage return (\r) at the end of - the line, only - a form feed, AKA newline (\n). - Since Microsoft Windows uses the sequence - \r\n as a line - terminator, your heredoc may not work if you write your - script in a Windows editor. However, most programming - editors provide a way to save your files with a UNIX - line terminator. - - @@ -1917,17 +1900,8 @@ examples: The behaviour of an automatic conversion to array is currently undefined. - - -$a = 1; // $a is an integer -$a[0] = "f"; // $a becomes an array, with $a[0] holding "f" - - - While the above example may seem like it should clearly result in - $a becoming an array, the first element of which is 'f', consider - this: $a = "1"; // $a is a string