Pinned content
View all 3 collectionsPHP admins have deemed these posts noteworthy.
Common Mistakes to Avoid in PHP
Start learning PHP — Useful resources for beginners and advanced
Can you answer these questions?
View all unanswered questionsThese questions still don't have an answer
How to create image courusel for product card on Catalog page Woocomerce Wordpress
Bootstrap Collapse on unordered list doesn't react on first click
Livewire components or controllers
Fastest way to remove \r and \n characters in a string in PHP in 2024?
I get 401 unauthorized error after successful login in reactjs app with laravel & sanctum
Looking for an extra challenge?
View all bountied questionsThese questions have a bounty on them
PHP webDav client gives ClientException: SSL certificate problem: unable to get local issuer certificate
How to set the first order status as a custom status for newly created orders from Woocommerce Rest API?
Recommended answers
View all recommended answersThese answers have been recommended
How to pass data to a webserver [closed]
index.php: <?php declare(strict_types=1); $encoded = json_encode($_GET ?? null); assert(is_string($encoded)); is_string($encoded) && error_log($encoded); You find it in the error log you'...
Laravel 11: Is it possible to force PHPUnit to trigger / "press" CTRL+C to simulate interruption of an artisan command?
With pcntl_signal() you register the signal handler. with posix_kill() you can send a signal (cf. kill(1), full example on the PHP manual pcntl_signal page). Now if you have the process id (PID) of ...
php.ini Path Disagreement
I'm actually glad you're asking this question in this direkt form: Is this a disagreement? Let's see the observations again: From my browser, running a php which invokes phpinfo() yields: /etc/php/8....
PHP webDav client gives ClientException: SSL certificate problem: unable to get local issuer certificate
Run composer installer that also ships with the certificates. Then use the composer diagnose command to verify they are available. Then retry with the webdav PHP script. It is perhaps already solved ...
When will a laravel model creation fail without an exception?
$team = Team::create($validated); Given that team was actually created (as a new class), $team will be that new object. Therefore, in the very unlikely event that no exception was thrown albeit not ...
See what's trending
View all trending questionsThese are the most active questions in PHP Collective
How can I prevent SQL injection in PHP?
Reference Guide: What does this symbol mean in PHP? (PHP Syntax)
How do I check if a string contains a specific word?
How do I get a YouTube video thumbnail from the YouTube API?
Deleting an element from an array in PHP
How to trim (or non-breaking space) in PHP?
Evolution of Type Declarations in PHP
Start learning PHP — Useful resources for beginners and advanced
Simply submit a proposal, get it approved, and publish it.
See how the process works