str_replace, how to change char.
#5

Quote:
Originally Posted by OsteeN
Посмотреть сообщение
Replace:
PHP код:
new i
.. with:
PHP код:
new 0
.. and see if it works.
Obviously there can only be one king of the north here!

If you just declare things without giving them any value, they automatically get a default value, for integers it's 0 and for booleans it's false, which also stands for 0.
Reply


Messages In This Thread
str_replace, how to change char. - by Zamek - 02.08.2017, 20:55
Re: str_replace, how to change char. - by Zamek - 03.08.2017, 12:46
Re: str_replace, how to change char. - by Hansrutger - 03.08.2017, 12:59
Re: str_replace, how to change char. - by OsteeN - 03.08.2017, 12:59
Re: str_replace, how to change char. - by Hansrutger - 03.08.2017, 13:01
Re: str_replace, how to change char. - by Zamek - 03.08.2017, 13:26
Re: str_replace, how to change char. - by OsteeN - 03.08.2017, 13:47

Forum Jump:


Users browsing this thread: 2 Guest(s)