PHP Collective
Pinned content
View all 3 collectionsPHP admins have deemed these posts noteworthy.
Common Mistakes to Avoid in PHP
- 101
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
Issue with OAuth flow when reinstalling app from Uninstalled tab
Hubleto PHP framework fresh install fails with "Cannot redeclare class Hubleto\App\Community\Discussions\Extendibles\AppMenu"
- 9,086
How does routing work in custom modules in Webtrees?
Cannot change fonts in MasterStudy Front-end Course Builder
Varnish Error 503 VCL failed when url path ends with %
Recommended answers
View all recommended answersThese answers have been recommended
How can I fix the "exceeded quota" issue when using AI to generate articles in Laravel?
You must be naming your CMS after the dystopian novel Brave New World? Have you read it? It doesn't end well. Anyway, you probably won't find much love for AI among the people left on Stack Overflow, ...
PHP Variable Naming
Well this can be done with variable variables, but only like this: $tbl_Fld_type = ${"tbl" . $_tbl . "Fld_type"}; $tbl_FormTypes = ${"tbl" . $_tbl . "FormTypes"...
imap_utf8 not always converting utf-8 text
imap_utf8() is not a general RFC-2047 decoder and it only decodes valid RFC-2047 encoded words. Seems your input is not a single encoded word. It's a header-style string RFC-2047 explicitly states: ...
Example .gitlab-ci.yml for Laravel 12 with MariaDB that seeds database before running php artisan test
When you execute the end-to-end test integrating your code with the database migrations and database handling, you need to set-up (provision) the whole test-system first. By default examples the ...
Does PHP Header Location Send HTTP Referrer information?
Am I doing right...well what happens when you try it?
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
Quick guide to Laravel package development
Properly removing API from Laravel project
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