note 88903 added to function.strip-tags
| From: | CEO at CarPool2Camp dot org | Date: | Thu, 12 Feb 2009 16:22:34 +0000 |
| Subject: | note 88903 added to function.strip-tags | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-150577@lists.php.net to get a copy of this message | ||
Interesting Behavior:
<?php // striptags.php
$data = '<br>Each<br/>New<br />Line';
$new = strip_tags($data, '<br>');
var_dump($new); // OUTPUTS string(21) "<br>EachNew<br />Line"
<?php // striptags.php
$data = '<br>Each<br/>New<br />Line';
$new = strip_tags($data, '<br/>');
var_dump($new); // OUTPUTS string(16) "Each<br/>NewLine"
<?php // striptags.php
$data = '<br>Each<br/>New<br />Line';
$new = strip_tags($data, '<br />');
var_dump($new); // OUTPUTS string(11) "EachNewLine"
----
Server IP: 64.71.164.2
Probable Submitter: 98.169.54.127
----
Manual Page -- http://www.php.net/manual/en/function.strip-tags.php
Edit -- https://master.php.net/note/edit/88903
Del: integrated -- https://master.php.net/note/delete/88903/integrated
Del: useless -- https://master.php.net/note/delete/88903/useless
Del: bad code -- https://master.php.net/note/delete/88903/bad+code
Del: spam -- https://master.php.net/note/delete/88903/spam
Del: non-english -- https://master.php.net/note/delete/88903/non-english
Del: in docs -- https://master.php.net/note/delete/88903/in+docs
Del: other reasons-- https://master.php.net/note/delete/88903
Reject -- https://master.php.net/note/reject/88903
Search -- https://master.php.net/manage/user-notes.php