Предупреждение об использовании неопределенной константы. это приведет к ошибке в будущей версии php ⇐ Php
Предупреждение об использовании неопределенной константы. это приведет к ошибке в будущей версии php
This should be enough for someone to correct my issue - I'm very much a newbie at this.
It's a short bit of code to strip spaces from the ends of strings submitted in forms.
The warning message is saying "Use of undefined constant mystriptag - assumed 'mystriptag' (this will throw an error..."
How should I change this?
function mystriptag($item) { $item = strip_tags($item); } array_walk($_POST, mystriptag); function t_area($str){ $order = array("\r\n", "\n", "\r"); $replace = ', '; $newstr = str_replace($order, $replace, $str); return $newstr; }
Источник: https://stackoverflow.com/questions/592 ... -version-o
This should be enough for someone to correct my issue - I'm very much a newbie at this.
It's a short bit of code to strip spaces from the ends of strings submitted in forms.
The warning message is saying "Use of undefined constant mystriptag - assumed 'mystriptag' (this will throw an error..."
How should I change this?
function mystriptag($item) { $item = strip_tags($item); } array_walk($_POST, mystriptag); function t_area($str){ $order = array("\r\n", "\n", "\r"); $replace = ', '; $newstr = str_replace($order, $replace, $str); return $newstr; }
Источник: https://stackoverflow.com/questions/592 ... -version-o
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Предупреждение JMeter: движок Nashorn планируется удалить из будущей версии JDK.
Anonymous » » в форуме JAVA - 0 Ответы
- 33 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Установка элемента несовместимого DTYPE устарел и вызовет в будущей ошибке пандов
Anonymous » » в форуме Python - 0 Ответы
- 25 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Использование неопределенной константы и mysqli_connect (): [дублировать]
Anonymous » » в форуме Php - 0 Ответы
- 9 Просмотры
-
Последнее сообщение Anonymous
-
-
-
FutureWarning: DataFrame.swapaxes устарел и будет удален в будущей версии.
Anonymous » » в форуме Python - 0 Ответы
- 18 Просмотры
-
Последнее сообщение Anonymous
-