Похожие чаты

How can I make my PHP CLI script running forever,

even though the execution has reached last line?

6 ответов

4 просмотра

Use while loop

Sounds kind of useless if there are no more lines to execute

Mega- Автор вопроса
Thomas
Sounds kind of useless if there are no more lines ...

It may be useful say for example I have a websocket to start at some point/executing another code block

Mega- Автор вопроса
M M
Use while loop

It is kinda hacky.

Mega
It may be useful say for example I have a websocke...

You mean like async / evented PHP? That's not a good idea

Похожие вопросы

Обсуждают сегодня

А как старый хаскел с новым стыковать ? потому как тут работает https://play.haskell.org/saved/C3xpMzcd, а вот тут https://stepik.org/lesson/7602/step/9?unit=1473 нет ошибка C...
Fedor
131
что насчет пагинга? на осдеве непонятно(
Vi Chapmann 🪙
26
hey everyone I'm not able to input come characters in my flatpak apps, they get ignored by the application. all other non-flatpak apps are fine with these characters. I search...
elo
20
Guys what is ur real (no jokes) expectation of link price during this cycle?
Hobbyist
28
Hey everyone! How's your weekend going so far?
Noah Noure
17
Вопрос я правильно понимаю что в коде newtype ArrowMap k v = ArrowMap { getArrowMap :: k -> Maybe v } getArrowMap есть функция типа k -> Maybe v, если да, то не понимаю задач...
Fedor
64
Hey, it seems like a solid project for the gaming industry. What are your initial thoughts?
Josh
26
Ребят, что лучше для реверса: гидра или ида?
En Vind Av Sorg
26
Делаю велосипед логгер. К сообщению хочу прикрутить некоторую информацию, типа, кем отправлено, какой уровень, и всякое такое. И тут подумалось мне, почему бы не хранить весь...
Serjone
24
What got more people talking about FTM? The week we were biggest gainer or this week with loads of amazing news but no positive price movement? The week we were biggest gain...
Yankee Ruin X
11
Карта сайта