note 126025 added to function.stripslashes

From: Date: Tue, 20 Apr 2021 07:47:44 +0000
Subject: note 126025 added to function.stripslashes
Groups: php.notes 
Request: Send a blank email to php-notes+get-216305@lists.php.net to get a copy of this message
In Example #1 of this documentation seems to be a wrong line. $str = "Is your name O\'reilly?"; is equal to $str = "Is your name O'reilly?"; So it should be rather $str = "Is your name O\\'reilly?"; or $str = 'Is your name O\\\'reilly?'; ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.85.242 (proxied: 2003:d8:df02:7005:21d:4fff:fe45:82b0) ---- Manual Page -- https://php.net/manual/en/function.stripslashes.php Edit -- https://main.php.net/note/edit/126025 Del: integrated -- https://main.php.net/note/delete/126025/integrated Del: useless -- https://main.php.net/note/delete/126025/useless Del: bad code -- https://main.php.net/note/delete/126025/bad+code Del: spam -- https://main.php.net/note/delete/126025/spam Del: non-english -- https://main.php.net/note/delete/126025/non-english Del: in docs -- https://main.php.net/note/delete/126025/in+docs Del: other reasons-- https://main.php.net/note/delete/126025 Reject -- https://main.php.net/note/reject/126025 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#216305) next »