the best and simple library for php
Also, do we need to import all the files library to the hosting?
Maybe @unreal4u can help. He's a PHP dev to my knowledge.
hi, you don't need a webhook as you can also use long polling
that is just personal preference, but generally speaking it is better to use a switch if you know you have more then 4 if's. That being said, php8.0 introduced match(): https://www.geeksforgeeks.org/is-there-any-alternate-of-switch-case-in-php/ which is an alternative
they are still trying to make php look like real language? ;]
$output = match($input){ 'callback_id' => 'something', 'fromID' => 'somethingElse' };
I was honestly surprised it's still alive ;)
yeah it's not like 80+% of the web is powered by PHP or something 🤷♂️
honestly never used it nor used it myself since php3 in 90s
Обсуждают сегодня