Ask questions about frameworks, try your hand at php golf and strike gold or simply show off your latest work.
376 followers 31 článkov/týždeň
PHP like Go-lang?

I've been working for a long time on a framework for async PHP, inspired by the Go language. It's very fast and can easily be used in existing projects (the async::run()) function creates a context which behaves like any other PHP function and inside that context you can use coroutines. ```php <?php require(DIR . '/../vendor/autoload.php'); /** *...

Wed May 15, 2024 12:04
I have made a timer with MySQL JavaScript Ajax and PHP, but I am having some problems with it

I have a website where I want to calculate how long a user spends time on my website and display it on the screen. I have built a code which starts the time as soon as the person logs in (I have not made a separate button, the timer starts directly when the user logs in) and stops when the person clicks logout and exits. I have used PHP, JavaScript...

Wed May 15, 2024 12:04
CodiumAI or Github Copilot?

How do they differ technically? I also don't quite get how Codeium works and how our data is secure vs using Copilot. Why would enterprises use them? I see that Anduril is now a customer using Codeium. submitted by /u/UpvoteBeast [link] [comments]

Wed May 15, 2024 12:04
Lightweight Data Validation Function Chain (native)

Thought you guys might like it, it’s easy and about a 100 lines of code with detailed docblock. There’s only the dd() function and global $lang variable there you can just remove if you’d like to use, i did put some comments, other than that it will work fine above PHP v.7 (php v.5 if you change null coalescing to isset()) submitted by /u/gecegokyuzu...

Wed May 15, 2024 12:04
Who says you can't string⟦⟧ in PHP? Here's a typed-arrays package.

submitted by /u/paragon_init [link] [comments]

Wed May 15, 2024 03:04
Strict timeouts

Hey everyone, we recently realized that when using PHP's built in timeout mechanisms like set_time_limit or similar ones, not all the time spent in the request is being counted towards that time limit. CURL calls for example don't get included so if you start with a time limit of 10s, you can no problem make 5 HTTP calls of 3s each and spend 15s in...

Tue May 14, 2024 21:05

Vytvorte si vlastný informačný kanál

Ste pripravení to vyskúšať?
Začnite 14-dňovú skúšobnú verziu, kreditná karta sa nevyžaduje.

Založiť účet