Gang Of Coders
Home
About Us
Contact Us
All Php Solutions on Gang of Coders
Total of 3784 Php Solutions
Reference — What does this symbol mean in PHP?
Php
Arguments
Operators
Symbols
Semantics
How to get the client IP address in PHP
Php
Environment Variables
Ip Address
How to Sort a Multi-dimensional Array by Value
Php
Arrays
Sorting
Multidimensional Array
"Notice: Undefined variable", "Notice: Undefined index", "Warning: Undefined array key", and "Notice: Undefined offset" using PHP
Php
Arrays
Variables
Warnings
Undefined Index
How do you use bcrypt for hashing passwords in PHP?
Php
Passwords
Cryptography
Password Protection
Bcrypt
UTF-8 all the way through
Php
Mysql
Linux
Apache
Utf 8
break out of if and foreach
Php
If Statement
Foreach
Break
Best way to initialize (empty) array in PHP
Php
Arrays
Initialization
How can I sort arrays and data in PHP?
Php
Arrays
Sorting
Object
Spl
PHP & Case Sensitivity
Php
Case Sensitive
Case Insensitive
Ubuntu Server Installing PHP 7 WITHOUT Apache
Php
Ubuntu
Nginx
Laravel Database Schema, Nullable Foreign
Php
Mysql
Database
Laravel
required_if Laravel 5 validation
Php
Validation
Laravel
Laravel 5.2
WooCommerce - Remove downloads from menu in my account page
Php
Wordpress
Woocommerce
Settings
Account
The Mix manifest does not exist when it does exist
Php
Laravel
Laravel Mix
How to add a custom payment gateway to Social Engine
Php
Customization
Payment Gateway
Socialengine
Best way to access Exchange using PHP?
Php
Windows
Exchange Server
Webdav
Mapi
A script to change all tables and fields to the utf-8-bin collation in MYSQL
Php
Sql
Mysql
Utf 8
Collation
Get variable from PHP to JavaScript
Php
Javascript
Current user in Magento?
Php
Magento
Is there a performance benefit single quote vs double quote in php?
Php
Performance
Multiple javascript/css files: best practices?
Php
Javascript
Jquery
Html
Css
What encryption algorithm is best for encrypting cookies?
Php
Security
Cookies
Encryption
Remember Me
Converting HTML to PDF using PHP?
Php
Pdf
Pdf Generation
Simple way to read single record from MySQL
Php
Mysql
How to create a random string using PHP?
Php
String
Random
String to byte array in php
Php
Bytearray
Tilde operator in Regular expressions
Php
Regex
Pcre
How do I receive email and process it in a web application
Php
Email
When should I declare variables in a PHP class?
Php
Oop
What does "===" mean?
Php
Operators
Comparison Operators
Identity Operator
Replace URLs in text with HTML links
Php
Regex
Url
Preg Replace
Linkify
Mysql transactions within transactions
Php
Mysql
Transactions
Tell bots apart from human visitors for stats?
Php
Javascript
Web Services
Analytics
How can I implement OCR on a website using PHP?
Php
Fonts
Ocr
Handwriting
How to chain method on a newly created object?
Php
Constructor
New Operator
Method Chaining
MongoDB and CodeIgniter
Php
Codeigniter
Mongodb
Mongodb Php
Detect bad json data in PHP json_decode()?
Php
Json
Difference between & and && in PHP
Php
convert date string to mysql datetime field
Php
Mysql
Why I have to call 'exit' after redirection through header('Location..') in PHP?
Php
Redirect
Header
Location
PHP list of specific files in a directory
Php
File
List
Directory
WordPress: get author info from post id
Php
Wordpress
Get method's arguments?
Php
Class
Object
Methods
Arguments
PHPMailer: SMTP Error: Could not connect to SMTP host
Php
Email
Phpmailer
Output is in seconds. convert to hh:mm:ss format in php
Php
Time
Calling non-static method with double-colon(::)
Php
Static
PHP switch case more than one value in the case
Php
Switch Statement
Case
How can I run a php without a web server?
Php
Cannot start session without errors in phpMyAdmin
Php
Session
Phpmyadmin
Split a comma-delimited string into an array?
Php
Arrays
String
Csv
Explode
Insert string at specified position
Php
String
List all files in one directory PHP
Php
List
Directory
nginx error connect to php5-fpm.sock failed (13: Permission denied)
Unix
Nginx
Php
Simplest way to profile a PHP script
Php
Profiling
apache directory listing, download all
Php
Apache
Download
HTML filter that is HTML5 compliant
Php
Html
Htmlpurifier
Set max_execution_time in PHP CLI
Linux
Command Line-Interface
Php
Doctrine 2 - Disallow null value on foreign keys of ManyToOne relationships
Php
Doctrine Orm
Relationship
Many to-One
PHP compare time
Php
Date
Time
how to count new lines in a very big string?
Php
String
Count
PHP not displaying errors even though display_errors = On
Php
Apache
Error Reporting
Default php function that turns negative numbers in 0
Php
Math
Variables
Numbers
Any way to return PHP `json_encode` with encode UTF-8 and not Unicode?
Php
Unicode
Json
symfony2 - how to switch from "dev" to "prod"?
Php
Symfony
PHP Warning Permission denied (13) on session_start()
Php
Session
Warnings
PHP check file extension
Php
PHP, continue; on foreach(){ foreach(){
Php
Foreach
How to return an array from an AJAX call?
Javascript
Php
Jquery
Json
Ajax
How to programmatically login/authenticate a user?
Php
Symfony
Authentication
Symfony Security
json_encode(): Invalid UTF-8 sequence in argument
Php
Json
Character Encoding
Advantages / inconveniences of heredoc vs nowdoc in php
Php
Heredoc
Nowdoc
PHP string concatenation
Php
String Concatenation
convert Persian/Arabic numbers to English numbers
Php
Unicode
Keeping session alive with Curl and PHP
Php
Session
Curl
Elegant way to search an PHP array using a user-defined function
Php
Collections
Functional Programming
NginX issues HTTP 499 error after 60 seconds despite config. (PHP and AWS)
Php
Http
Nginx
Amazon Web-Services
how to re-format datetime string in php?
Php
Date
Sorting
Time
Date Sorting
how to use JSON.stringify and json_decode() properly
Php
Javascript
Arrays
Json
Stringify
PHP - add 1 day to date format mm-dd-yyyy
Php
Date
php call class function by string name
Php
Unterminated entity reference in PHP
Php
Xml
Simplexml
Php 7
Install php-mcrypt on CentOS 6
Php
Centos
PHP cURL GET request and request's body
Php
Curl
Http Get
Set Font Color, Font Face and Font Size in PHPExcel
Php
Class
Phpexcel
Overriding blocks within included Twig templates
Php
Twig
json_encode function: special characters
Php
Json
Where are Magento's log files located?
Php
Magento
Error Log
Class 'App\Http\Controllers\DB' not found and I also cannot use a new Model
Php
Laravel
Namespaces
Models
Laravel 5
How to send a GET request from PHP?
Php
Http
Get
Get the current script file name
Php
File
How to Set Variables in a Laravel Blade Template
Php
Laravel
Laravel Blade
Laravel 5 not finding css files
Php
.Htaccess
Laravel
Laravel 5
How to solve a timeout error in Laravel 5
Php
Laravel
How to set time zone in codeigniter?
Php
Codeigniter
Installing pecl and pear on OS X 10.11 El Capitan, macOS 10.12 Sierra, macOS 10.13 High Sierra (< 10.13.3)
Php
Macos
Pear
Pecl
Fatal error while upgrading Laravel 5.1 to 5.2
Php
Laravel
Laravel 5.1
Laravel 5.2
Laravel migrations change default value of column
Php
Laravel
Migration
Laravel Artisan
What is the difference between BelongsTo And HasOne in Laravel
Php
Laravel
Laravel 5
Eloquent
Composer - The requested package exists as but these are rejected by your constraint
Php
Composer Php
Bundle
Stability
Eloquent: find() and where() usage laravel
Php
Eloquent
Laravel 5.3
Expected response code 250 but got code "535", with message "535-5.7.8 Username and Password not accepted
Php
Laravel
Gmail
phpMyAdmin ERROR: mysqli_real_connect(): (HY000/1045): Access denied for user 'pma'@'localhost' (using password: NO)
Php
Mysqli
Phpmyadmin
Xampp
PATCH and PUT Request Does not Working with form-data
Php
Laravel
Http
Postman
What are the proper permissions for an upload folder with PHP/Apache?
Php
Apache
Upload
Speed difference in using inline strings vs concatenation in php5?
Php
Optimization
Performance
Which is fastest in PHP- MySQL or MySQLi?
Php
Mysql
Mysqli
HTTP Headers for File Downloads
Php
Http Headers
Download
Content Type
How to post SOAP Request from PHP
Php
Web Services
Soap
Parse XML with Namespace using SimpleXML
Php
Xml
Namespaces
Simplexml
How to get all variables defined in the current scope/symbol table?
Php
Debugging
Scope
How can I get around the lack of a finally block in PHP?
Php
Exception
Resource Cleanup
MySQL INTO OUTFILE override existing file?
Php
Mysql
Sql
Into Outfile
PHP Date Time Current Time Add Minutes
Php
symfony vs cakephp
Cakephp
Symfony1
Php
How do I remove a directory that is not empty?
Php
Directory
Double underscore in PHP
Php
Syntax
Get query back from PDO prepared statement
Php
Mysql
Pdo
Error handling with PHPMailer
Php
Phpmailer
PHP & MySQL: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given
Php
Mysql
Grab remaining text after last "/" in a php string
Php
String
Purpose of PHP constructors
Php
Class
Oop
Constructor
How to parse HTML with PHP?
Php
Html
Regex
Html Parsing
localhost vs. 127.0.0.1 in mysql_connect()
Php
Mysql
php error: Class 'Imagick' not found
Php
Is it possible to declare an array as constant
Php
Print Currency Number Format in PHP
Php
Formatting
Currency
How do I remove quotes from a string?
Php
Quotes
In PHP, how do I check if a function exists?
Php
Function
Using .htaccess to make all .html pages to run as .php files?
Php
Html
Apache
.Htaccess
How to get the last dir from a path in a string
Php
PHP day of week numeric to day of week text
Php
Date
Is a new line = \n OR \r\n?
Php
String
Best way to store IP in database?
Php
Mysql
PHP regular expression - filter number only
Php
Regex
Get "Content-Type" header of request in PHP
Php
Http
Rest
Http Headers
Merging arrays with the same keys
Php
Array Merge
How to get previous year using PHP
Php
PHP - Get array value with a numeric index
Php
Arrays
Get
Indexing
Numeric
PHP Get Highest Value from Array
Php
Arrays
Sorting
Leverage browser caching, how on apache or .htaccess?
Php
.Htaccess
Browser Cache
isset() vs strlen() - a fast/clear string length calculation
Php
Coding Style
Type hinting for any object
Php
Type Hinting
Adding 1 hour to time variable
Php
Datetime
Time
new limit within php: 1000 fields per POST. Does someone know, if the number can be influenced?
Php
Post
Remove / Replace the username field with email using FOSUserBundle in Symfony2 / Symfony3
Php
Symfony
Fosuserbundle
I can't access http://localhost/phpmyadmin/
Php
Phpmyadmin
Remove all array elements except what I want?
Php
Arrays
PHP replacing special characters like à->a, è->e
Php
Utf 8
Preg Replace
Decode
Is there any way to install Composer globally on Windows?
Php
Windows
Composer Php
Check if a file was included or loaded
Php
Symfony2 - Twig - How can I send parameters to the parent template?
Php
Symfony
Twig
PHP CSV string to array
Php
Parsing
Csv
Concatenate string with field value in MySQL
Php
Mysql
Sql
Concatenation
POST Variable Array and filter_input
Php
Arrays
Variables
Post
Input
How to use basic authorization in PHP curl
Php
Curl
Authorization
msvcr110.dll is missing from computer error while installing PHP
Php
Dll
Select all from table with Laravel and Eloquent
Php
Mysql
Laravel
Laravel 4
Eloquent
Laravel set between digits in validation
Php
Laravel
Laravel 4
php artisan migrate throwing [PDO Exception] Could not find driver - Using Laravel
Php
Mysql
Pdo
Laravel
Driver
Can we get email ID from Twitter oauth API?
Php
Twitter
Twitter Oauth
Sending POST data in Android
Java
Php
Android
Client Server
Httpconnection
Explode PHP string by new line
Php
Using comparison operators in a PHP 'switch' statement
Php
Switch Statement
Woocommerce, get current product id
Php
Wordpress
Woocommerce
Product
How to display "git blame" in PhpStorm after opening file by default
Php
Phpstorm
Webstorm
Laravel: validate an integer field that needs to be greater than another
Php
Laravel
Laravel 5
SSL error SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Php
Apache
Openssl
Truncate a table in Laravel 5
Php
Laravel
Laravel 5
Eloquent
How to draw a shape using a piece of image in php
Javascript
Php
Html
Css
Html5 Canvas
Uncaught ReflectionException: Class log does not exist Laravel 5.2
Php
Laravel
Centos7
Laravel 5.2
Class 'UserTableSeeder' does not exist - Laravel 5.0 [php artisan db:seed]
Php
Laravel
PHP 7 and strict "resource" types
Php
Php 7
How to set .env values in laravel programmatically on the fly
Php
Laravel
Environment Variables
What does question mark (?) before type declaration means in php (?int)
Php
Php 7.2
Codeception, write acceptance tests with the pageObject design pattern and gherkin
Php
Codeception
Gherkin
Pageobjects
XAMPP and WAMP in the LAMP, what's the best?
Php
Mysql
Apache
Remove a child with a specific attribute, in SimpleXML for PHP
Php
Xml
Dom
Simplexml
Getting static property from a class with dynamic class name in PHP
Php
Oop
Dynamic
Static
Properties
Best way to get hostname with php
Php
Insert into array at a specified place
Php
PHP: Get n-th item of an associative array
Php
Associative Array
How to remove a variable from a PHP session array
Php
Arrays
Session
PHP: Can I Use Fields In Interfaces?
Php
Interface
How do I create a simple 'Hello World' module in Magento?
Php
Magento
Controller
Magento 1.9
Remove a cookie
Php
Cookies
upstream sent too big header while reading response header from upstream
Php
Wordpress
Nginx
Fastcgi
Nginx Reverse-Proxy
PHP extract GPS EXIF data
Php
Metadata
Gps
Exif
Require all files in a folder
Php
How to check if letter is upper or lower in PHP?
Php
String
Utf 8
How to add custom javascript to WordPress Admin?
Php
Javascript
Jquery
Wordpress
What is autoload in php?
Php
Autoload
How can i get phpunit to run tests from all files in a folder?
Php
Phpunit
Pear
PHP Random Shuffle Array Maintaining Key => Value
Php
Arrays
Are there limits for session variables?
Php
Session Variables
ALTER TABLE in Magento setup script without using SQL
Php
Sql
Magento
Installation
Entity Attribute-Value
endforeach in loops?
Php
Loops
Foreach
If Statement
CSV to Associative Array
Php
Arrays
Csv
Associative
str_replace in Twig
Php
Filter
Str Replace
Twig
How to convert these strange characters? (ë, Ã, ì, ù, Ã)
Php
Mysql
Character Encoding
Mojibake
Utf8 Decode
What does header('P3P: CP="CAO PSA OUR"'); do?
Php
Session
P3p
Best Place for Validation in Model/View/Controller Model?
Php
Model View-Controller
Validation
Design Patterns
Forms
Symfony 2.0 step by step tutorial required
Php
Symfony
Jobeet
Is it possible to use xdebug on Ubuntu?
Php
Ubuntu
Xdebug
How to limit size of result set in doctrine 2?
Php
Orm
Doctrine Orm
Doctrine 2 Inheritance Mapping with Association
Php
Inheritance
Orm
Doctrine
Doctrine Orm
How do I make a PHP form that submits to self?
Php
Html
Forms
Find total number of results in mySQL query with offset+limit
Php
Mysql
Codeigniter
Pagination
How do you get php working on Mac OS X?
Php
Macos
Osx Lion
Simple jQuery, PHP and JSONP example?
Php
Jquery
Ajax
Json
Jsonp
How do a read a xdebug profile in webgrind?
Php
Profiling
Xdebug
How can I calculate the SHA-256 hash of a string in Android?
Java
Php
Android
Digest
Sha
How to install MySQLi on MacOS
Php
Macos
Mysqli
CodeIgniter: Unable to connect to your database server using the provided settings Error Message
Php
Mysql
Codeigniter
Connection
Mysqli
sprintf - repeating arguments
Php
Printf
Array push as the first index PHP
Php
Arrays
Push
Can PHP's list() work with associative arrays?
Php
Arrays
List
Associative Array
"Adaptive Server is unavailable or does not exist" error connecting to SQL Server from PHP
Php
Sql Server
Sql Server-2005
Freetds
Unixodbc
How to generate in PHP all combinations of items in multiple arrays
Php
Arrays
Combinations
Iteration
How to use STDOUT in php
Php
Command Line
Include files from parent or other directory
Php
Error fetching http headers in SoapClient
Php
Soap Client
PHP is_null() and ==null
Php
Null
Can't find FULLTEXT index matching the column list (indexes is set)
Php
Mysql
Full Text-Search
Get img src with PHP
Php
Html
Image
Variables
Src
Connection reset by peer: mod_fcgid: error reading data from FastCGI server
Php
Apache
Mod Fcgid
Difference between DirectoryIterator and FileSystemIterator
Php
Spl
WooCommerce return product object by id
Php
Wordpress
Woocommerce
How to deal with "method not found in class" warning for magically implemented methods?
Php
Phpstorm
What do the ENT_HTML5, ENT_HTML401, ... modifiers on html_entity_decode do?
Php
Html
Html Entities
Htmlspecialchars
Why is it good save to save sessions in the database?
Php
Performance
Codeigniter
Session
Security
Why does datetime->days always returns a positive number
Php
Datetime
Catching multiple exception types in one catch block
Php
Exception Handling
php imagecopyresized vs imagecopyresampled vs imagecopy pros/cons
Php
Image
Copy
Gd
How to set a default attribute value for a Laravel / Eloquent model?
Php
Model
Laravel
Laravel 4
Eloquent
how to upload and delete files from dropzone.js
Javascript
Php
Jquery
dropzone.js
PHP display image BLOB from MySQL
Php
Mysql
Laravel default orderBy
Php
Laravel
What is PHP exit()/die() equivalent in Node.js
Php
node.js
Fatal error: Namespace declaration statement has to be the very first statement in the script in
Php
Image Upload
Laravel : Migrations & Seeding for production data
Php
Database
Laravel
Laravel 4
Database Migration
How to generate a new GUID?
Php
Guid
How to get the first day of the current year?
Php
Datetime
Laravel - display a PDF file in storage without forcing download?
Php
Laravel
Redirect to external URL with return in laravel
Php
Laravel
Laravel 4
Sms Gateway
Group exclusion in Nelmio Api Doc does not work After updating composer
Php
Symfony
Doctrine Orm
Nelmioapidocbundle
Where to place traits in Laravel 5?
Php
Laravel 5
Traits
Laravel catch TokenMismatchException
Php
Laravel
Exception Handling
Csrf
Laravel 5
ReCaptcha 2.0 With AJAX
Javascript
Php
Jquery
Ajax
Recaptcha
how to use php DateTime() function in Laravel 5
Php
Laravel
Laravel 5
What is the difference between {{ }} and {!! !!} in laravel blade files?
Php
Laravel
Laravel 5.2
Laravel Blade
Laravel 5 PDOException Could Not Find Driver
Php
Mysql
Laravel
Laravel 5
Redirect url to previous page in laravel
Php
Laravel 5.2
Carbon::now() - only month
Php
Date
Php Carbon
Adding multiple middleware to Laravel route
Php
Laravel
How to call non-static method from static method of same class?
Php
Oop
PHP | "The requested PHP extension bcmath is missing from your system."
Php
Web
Configuration
Composer Php
Ini
Error migrations: Cannot declare class X, because the name is already in use
Php
Laravel
Laravel Migrations
How can I get the authenticated user name under Apache using plain HTTP authentication and PHP?
Php
Apache
Authentication
Http Authentication
How to Automatically Start a Download in PHP?
Php
Automation
Download
Redefine Class Methods or Class
Php
Class
Methods
Redefine
How to skip the 1st key in an array loop?
Php
Arrays
Declaring Variable Types in PHP?
Php
Variable Types
Best way to automatically remove comments from PHP code
Php
Comments
Strip
Best practices for storing bank information in a database
Php
Mysql
Mcrypt
PHP: How to send HTTP response code?
Php
Http Response-Codes
How to read if a checkbox is checked in PHP?
Php
Html
Forms
Post
Checkbox
How to convert array to SimpleXML
Php
Xml
Arrays
Simplexml
PHP + MySQL transactions examples
Php
Mysql
Transactions
CodeIgniter: How To Do a Select (Distinct Fieldname) MySQL Query
Php
Mysql
Codeigniter
Distinct
Add a custom file extension to Netbeans
Php
Netbeans
Ide
Generic "Killed" error in PHP script
Php
Mysql
Cron
How useful is PHP CodeSniffer? Code Standards Enforcement in General?
Php
Codesniffer
HTML input arrays
Php
Html
Arrays
Forms
Sending mass email using PHP
Php
Email
Bulk
Massmail
How safe are PHP session variables?
Php
Security
How do I throttle my site's API users?
Php
Linux
Apache
Throttling
adding 30 minutes to datetime php/mysql
Php
Mysql
Datetime
Strtotime
Sort array by object property in PHP?
Php
Sorting
Get WordPress Post ID from Post title
Php
Wordpress
Turn off warnings and errors on PHP and MySQL
Php
Mysql
PHP read sub-directories and loop through files how to?
Php
Loops
Directory
CSRF (Cross-site request forgery) attack example and prevention in PHP
Php
Csrf
Owasp
How to get response as json format(application/json) in yii?
Php
Yii
step-by-step instructions for installing IMAGEMAGICK on WAMP?
Php
Imagemagick
Wamp
Question about strpos: how to get 2nd occurrence of a string?
Php
String
PHP get index of last inserted item in array
Php
Arrays
Indexing
NetBeans always shows warning: "The authenticity of host x can't be established" after upload, download or synchronize
Php
Netbeans
Netbeans 6.9
Rsa Key-Fingerprint
How to upload & Save Files with Desired name
Php
File Upload
Detect if PHP session exists
Php
Session
PHP using Gettext inside <<<EOF string
Php
Gettext
Eof
Convert time and date from one time zone to another in PHP
Php
Timezone
mod_php vs cgi vs fast-cgi
Php
Interpreter
Fastcgi
Mod Php
limit text length in php and provide 'Read more' link
Php
Text
PHP header() redirect with POST variables
Php
Html
Post
Header
Show image using file_get_contents
Php
Http Headers
File Get-Contents
Ignore code snippets in PHP_CodeSniffer
Php
Codesniffer
facebook error 'Error validating verification code'
Php
Facebook
Urlencode
PHP some $_POST values missing but are present in php://input
Php
Post
Hashing an entire PHP array into a unique value
Php
Arrays
Hash
What's __halt_compiler in PHP for?
Php
Finding Extension of uploaded file (PHP)
Php
File
Generating UNIQUE Random Numbers within a range
Php
Is strip_tags() vulnerable to scripting attacks?
Php
Html
Security
Xss
Strip Tags
Converting <br /> into a new line for use in a text area
Php
Html
How to write CDATA using SimpleXmlElement?
Php
Xml
Simplexml
Cdata
what does mysql_real_escape_string() really do?
Php
Mysql
Using Prepared Statement, how I return the id of the inserted row?
Php
Mysql
Mysqli
Prepared Statement
Replacing backslashes with forward slashes with str_replace() in php
Php
PHPUnit: expects method meaning
Php
Unit Testing
Tdd
Mocking
Phpunit
Twig, add first and last class
Php
Symfony
Twig
Get only filename from url in php without any variable values which exist in the url
Php
Url
Get
Filenames
PHP class not found but it's included
Php
Execute root commands via PHP
Php
Apache
Permissions
Root
How to run php files on my computer
Php
Apache
Sending multiple data parameters with jQuery AJAX
Php
Jquery
Ajax
php checking if the last character is a '/' if not then tack it on
Php
The best way to get the first and last day of last month?
Php
Mysql
Optimization
Date
Interpolate a constant (not variable) into 'heredoc'
Php
Syntax
Constants
Heredoc
cURL error 60: SSL certificate: unable to get local issuer certificate
Php
Ssl
Curl
Stripe Payments
Getting the first character of a string with $str[0]
Php
String
Substring
How to check for null in Twig?
Php
Twig
Short Circuiting
Simplest PHP example for retrieving user_timeline with Twitter API version 1.1
Php
Twitter
What Exception subclasses are built into PHP?
Php
Class
Exception
Exception Handling
Remove blacklist keys from array in PHP
Php
Arrays
Key
PHP DOMDocument failing to handle utf-8 characters (☆)
Php
Utf 8
Domdocument
usort function in a class
Php
Why is base64_encode() adding a slash "/" in the result?
Php
Encoding
Base64
What is data serialization?
Php
Javascript
Serialization
Definition
How to access service container in symfony2 global helper function (service)?
Php
Service
Symfony
PHP How do I round down to two decimal places?
Php
Decimal
Rounding
Number Formatting
Extracting files from .phar archive
Php
Phar
How does similar_text work?
Php
Javascript
C
How to use a PHP class from another file?
Php
How can I mount an S3 bucket to an EC2 instance and write to it with PHP?
Php
Amazon S3
Fuse
S3fs
Arrays with NULL keys
Php
Arrays
Null
Laravel 4: Redirect to a given url
Php
Laravel
Laravel 4
ERROR 403 in loading resources like CSS and JS in my index.php
Php
Css
Linux
Directory
Lampp
How to extract text from word file .doc,docx,.xlsx,.pptx php
Php
Ms Word
Docx
.Doc
How do I get Composer to download the latest commit in the master branch from GitHub for a package?
Php
Git
Github
Composer Php
Check if request is GET or POST
Php
Post
Get
Laravel 4
Export MySQL database using PHP
Php
Mysql
Backup
Eloquent column list by key with array as values?
Php
Laravel
Laravel 4
Eloquent
How to create multilingual translated routes in Laravel
Php
Laravel
Laravel 4
Localization
Routing
Laravel Recursive Relationships
Php
Laravel
Eloquent
Dynamically reference to $this should not work, but it does
Php
How can I access my Laravel app from another PC?
Php
Laravel
New reCaptcha with jQuery Validation Plugin
Javascript
Php
Jquery
Validation
Recaptcha
Void as return type
Php
Void
Return Type
Php 7
Base table or view not found: 1146 Table Laravel 5
Php
Mysql
Laravel
Artisan, creating tables in database
Php
Laravel
Laravel 5
Laravel Artisan
Laravel Migrations
PHP date time greater than today
Php
Date
Notification system using php and mysql
Php
Mysql
Triggers
Notifications
What is the difference between PEAR and Composer?
Php
Package
Composer Php
Pear
How to debug "FastCGI sent in stderr: Primary script unknown while reading response header from upstream" and find the actual error message?
Php
Debugging
Nginx
Fastcgi
Stderr
Laravel 5.2: Unable to locate factory with name [default]
Php
Laravel
Laravel 5
Laravel 5.2
Laravel Seeding
Difference between Trait and an Abstract Class in PHP
Php
Abstract Class
Traits
validating a numeric input's length in laravel 5
Php
Laravel
Laravel 5
Laravel 5.2
Laravel Validation
PHP "php://input" vs $_POST
Php
Ajax
Input
Print PHP Call Stack
Php
Stack Trace
Error Logging
laravel updateOrCreate method
Php
Jquery
Forms
Laravel
Eloquent
Laravel Blade - Advantage of @slot/@component vs @include?
Php
Laravel
Blade
Laravel 5.4
Laravel Blade
but these conflict with your requirements or minimum-stability
Php
Composer Php
How to safely remove Laravel Debugbar
Php
Laravel
Laravel 5
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 255
Php
Laravel
Laravel 5
Console
Command
Method Illuminate\Translation\Translator::getFromJson does not exist
Php
Laravel
Is there an online PHP IDE?
Php
Ide
How do you strip out the domain name from a URL in php?
Php
Urlparse
Correct indentation of HTML and PHP using Vim
Php
Html
Vim
Indentation
json parse error with double quotes
Php
Javascript
Json
Parsing
Double Quotes
How to echo a MySQLi prepared statement?
Php
Mysqli
Why is WordPress considered to be poorly programmed?
Php
Wordpress
Ignore case sensitivity when comparing strings in PHP
Php
Socket transport "ssl" in PHP not enabled
Php
Ssl
Iis 6
Fsockopen
How to use sha256 in php5.3.0
Php
Hash
Sha256
PHP MYSQL - Insert into without using column names but with autoincrement field
Php
Mysql
Auto Increment
PHP to search within txt file and echo the whole line
Php
Search
Echo
Text Files
Get image dimensions
Php
Image
Dimensions
Easy way to password-protect php page
Php
Password Protection
Get the string after a string from a string
Php
String
Should I use curly brackets or concatenate variables within strings?
Php
Concatenation
Curly Braces
PHP: casting to a dynamically determined type
Php
Casting
New language on top of PHP?
Php
Programming Languages
Language Design
What is parameterized query?
Php
Sql
Parameterized Query
How can I write a file in UTF-8 format?
Php
Encoding
Utf 8
Iconv
Mbstring
What is meant by a number after "break" or "continue" in PHP?
Php
Loops
Breakpoints
Break
Continue
Enumerations on PHP
Php
Enumeration
Get the first element of an array
Php
Arrays
Reference - What does this error mean in PHP?
Php
Arrays
Debugging
Error Handling
Warnings
Secure hash and salt for PHP passwords
Php
Security
Passwords
Hash
Protection
How can I sanitize user input with PHP?
Php
Security
Xss
Sql Injection
User Input
Where is PHP.ini in Mac OS X Lion?
Macos
Php
"Keep Me Logged In" - the best approach
Php
Security
Session
Remember Me
How to prevent XSS with HTML/PHP?
Php
Xss
How to Convert Boolean to String
Php
String
Determine timezone from latitude/longitude without using web services like Geonames.org
Javascript
Php
Geolocation
Timezone
Gis
PHP #region for code folding?
Php
Using WGET to run a cronjob PHP
Php
Linux
Cron
Wget
What is the closest thing to WordPress in python instead of php?
Php
Python
Wordpress
How to generate HMAC-SHA1 in C#?
C#
Java
Php
Ruby
Hmac
How to convert array to a string using methods other than JSON?
Php
Arrays
String Conversion
Javascript closures vs PHP closures, what's the difference?
Php
Javascript
Closures
Send array with Ajax to PHP script
Php
Javascript
Jquery
Ajax
PHP check for instance of DateTime?
Php
Class
Instance
Instanceof
Isinstance
What is the difference between <> and !=
Php
Operators
Delete digits after two decimal points, without rounding the value
Php
Function
Rounding
How to solve JSON_ERROR_UTF8 error in php json_decode?
Php
Json
Parsing
Jsonp
checking memory_limit in PHP
Php
Memory Limit
How do you hide labels in a form class in symfony2?
Php
Forms
Class
Symfony
Is it possible to restrict a route for AJAX only?
Php
Ajax
Symfony
Checking for an empty result (PHP, PDO, and MySQL)
Php
Mysql
Pdo
OPENSSL file_get_contents(): Failed to enable crypto
Php
Apache
Openssl
Check if a string contains nothing but an URL in PHP
Php
Url
Validation
Reference — frequently asked questions about PDO
Php
Pdo
How can I get the session ID in Laravel?
Php
Laravel
Laravel 4
Causes of MySQL error 2014 Cannot execute queries while other unbuffered queries are active
Php
Mysql
Pdo
PHP reading shell_exec live output
Php
regex match any whitespace
Php
Regex
How to check if a folder exists before creating it in laravel?
Php
Laravel
Laravel 4
What does FILTER_SANITIZE_STRING do?
Php
Sanitization
Matching a space in regex
Php
Regex
Convert array values from string to int?
Php
Arrays
String
Integer
Explode
Are arrays in PHP copied as value or as reference to new variables, and when passed to functions?
Php
Arrays
Reference
Pass by-Reference
Pass by-Value
Log the actual SQL query using ActiveRecord with Yii2?
Php
Sql
Activerecord
Logging
Yii2
How to pass param from controller to layout in YII2
Php
Yii2
In PHP's Laravel, how do I clear laravel.log?
Php
Laravel 4
Call laravel controller via command line
Php
Laravel
How to access URL segment(s) in blade in Laravel 5?
Php
Laravel
Laravel 5
Blade
Override PHP base dependency in composer
Php
Composer Php
how to set timeout in a vueJs method
Javascript
Php
Jquery
Laravel 5
vue.js
Cannot unpack array with string keys
Php
Arrays
Argument Unpacking
Laravel 5.4 redirection to custom url after login
Php
Redirect
Laravel 5
What's the best way to get the fractional part of a float in PHP?
Php
How can I get word wrap to work in Eclipse PDT for PHP files?
Php
Eclipse
Eclipse Pdt
Word Wrap
How to find Object ID in PHP?
Php
Object
PHP sessions in a load balancing cluster - how?
Php
Session
Load Balancing
Cluster Computing
How to upload a file using Java HttpClient library working with PHP
Java
Php
Java Http-Client
How can I get PHP to produce a backtrace upon errors?
Php
Debugging
Error Handling
Stack Trace
Backtrace
CakePHP: Find where field is not null
Php
Cakephp
Only variables should be passed by reference
Php
PHP best practices for user authentication and password security
Php
Authentication
How to determine file age using PHP?
Php
Relative path not working in cron PHP script
Php
Cron
PHP explode the string, but treat words in quotes as a single word
Php
Quotes
Explode
Str Replace
How is the PHP array implemented on the C level?
Php
Arrays
eclipse xdebug session never completes
Php
Eclipse
Xampp
Xdebug
Set Application_ENV via virtual host config and read this in PHP
Php
Apache
Zend Framework
Configuration
Why can't you call abstract functions from abstract classes in PHP?
Php
Oop
Static
Methods
Abstract
PHP_AUTH_USER not set?
Php
Http Authentication
Posting multidimensional array with PHP and CURL
Php
Arrays
Post
Curl
PHP: What does a & in front of a variable name mean?
Php
What is a practical use for PHP's sleep()?
Php
Function
Sleep
Usleep
Running MySQL *.sql files in PHP
Php
Mysql
Zend Framework
Scripting
PHP's preg_match() and preg_match_all() functions
Php
Preg Match
Preg Match-All
create array tree from array list
Php
Arrays
Recursion
Tree
Send file via cURL from form POST in PHP
Php
Curl
Image Uploading
Writing/Drawing over a PDF template document in PHP
Php
Pdf
PHP - regex to allow letters and numbers only
Php
Regex
Preg Match
How do I remove http, https and slash from user input in php
Php
Function
Preg Replace
Email from PHP has broken Subject header encoding
Php
Encoding
Mime
Email Headers
PHP DateTime::createFromFormat doesn't parse ISO 8601 date time
Php
Datetime
Check if JavaScript is enabled with PHP
Php
Javascript
Best way to check for positive integer (PHP)?
Php
Validation
php pdo: get the columns name of a table
Php
Pdo
Fetch
How do I get WKHTMLTOPDF to execute via PHP?
Php
Wkhtmltopdf
putting print_r results in variable
Php
Split string by delimiter, but not if it is escaped
Php
Regex
Preg Split
Save image from url with curl PHP
Php
Image
Curl
Calculating image size ratio for resizing
Php
Image
Image Processing
Resize
Check file uploaded is in csv format
Php
Syntax
File Upload
Content Type
mysqli fetch_all() not a valid function?
Php
Mysqli
Parentheses altering semantics of function call result
Php
Php Internals
PHP Data-URI to file
Php
Image
File Io
Data Uri
How create an array from the output of an array printed with print_r?
Php
Arrays
String
Variables
Type Conversion
C#'s null coalescing operator (??) in PHP
Php
Ternary Operator
Null Coalescing-Operator
Php 7
php $_GET and undefined index
Php
Undefined
Accessing array values using array key from Twig
Php
Twig
Generating Facebook Open Graph meta tags dynamically
Php
Facebook
Facebook Opengraph
Meta Tags
Send JSON data from Javascript to PHP?
Php
Javascript
Ajax
Json
Set default value on Datetime field in symfony2 form
Php
Symfony
Symfony 2.1
How do you convert between 12 hour time and 24 hour time in PHP?
Php
Build a tree from a flat array in PHP
Php
Arrays
Tree
Flat
PHP error. Why is "variable undefined" inside array_map?
Php
Arrays
Array Map
Default array values if key doesn't exist?
Php
Arrays
Default
php explode all characters
Php
Arrays
Explode
Insert current date/time using now() in a field using MySQL/PHP
Php
Mysql
Datetime
$stmt->execute() : How to know if db insert was successful?
Php
Oop
Mysqli
PHP Sort array by field?
Php
Arrays
Sorting
php array_push() -> How not to push if the array already contains the value
Php
Arrays
Array Push
Fatal error: Call to undefined function mysql_connect()
Php
Mysql
php date validation
Php
Validation
Date
MySQL where NOT IN name array?
Php
Mysql
Sql
How to save an HTML5 Canvas as an image on a server?
Javascript
Php
Ajax
Html5 Canvas
Best way to allow plugins for a PHP application
Php
Plugins
Architecture
Hook
Are PHP Variables passed by value or by reference?
Php
Variables
Pass by-Reference
Pass by-Value
Why check both isset() and !empty()
Php
How to require PHP files relatively (at different directory levels)?
Php
Relative Path
PDO error: " SQLSTATE[HY000]: General error " When updating database
Php
Pdo
the difference between unset and = null
Php
PHP fwrite new line
Php
Serializing and submitting a form with jQuery and PHP
Php
Jquery
Forms
Serialization
Form Submit
OpenSSL not working on Windows, errors 0x02001003 0x2006D080 0x0E064002
Php
Apache
Apache2
Openssl
Easyphp
Column count of mysql.proc is wrong. Expected 20, found 16. The table is probably corrupted
Php
Mysql
Invalid column count in CSV input on line 1 Error
Php
Mysql
Excel
Csv
Show values from a MySQL database table inside a HTML table on a webpage
Php
Mysql
Database
Html Table
array_map inline anonymous function
Php
Array Map
How to write html code inside <?php ?>, I want write html code within the PHP script so that it can be echoed from Backend
Php
Html
How to route GET and POST for same pattern in Laravel?
Php
Laravel
Laravel Routing
phpunit - mockbuilder - set mock object internal property
Php
Phpunit
AWS SDK Error - Signature not yet current
Php
Amazon Web-Services
Dreamhost
Move_uploaded_file() function is not working
Php
File
One line if statement in PHP
Php
If Statement
PHP: maximum execution time when importing .SQL data file
Php
Mysql
Sql
Phpmyadmin
Xampp
phpexcel freeze row and columns
Php
Phpexcel
Detect if any kind of IE (MSIE)
Javascript
Php
Jquery
Internet Explorer
Warning: mysqli_connect(): (HY000/1045): Access denied for user 'username'@'localhost' (using password: YES)
Php
Mysql
Database
Phpmyadmin
Localhost
Laravel - Blade comments , blade rendering causing page to crash
Php
Laravel
Web
Blade
Setting Bootstrap navbar active class in Laravel 5
Php
Laravel
Laravel 5
Laravel Request input() or get()
Php
Laravel
Laravel 5
Yii2 How to perform where AND or OR condition grouping?
Php
Mysql
Activerecord
Yii
Yii2
PHPStorm is not recognizing methods of my Model class in Laravel 5.0
Php
Laravel
Model
Eloquent
Phpstorm
Laravel preg_match(): No ending delimiter '/' found
Php
Regex
Laravel
Laravel 4
Regexp Replace
How to see full content of long strings with var_dump() in PHP
Php
Arrays
Var Dump
PHP Carbon class changing my original variable value
Php
Laravel
Php Carbon
How to configure "Directories" when using a Symfony project in PhpStorm
Php
Phpstorm
Symfony
Axios posting params not read by $_POST
Javascript
Php
Reactjs
Axios
How to get first 5 characters from string
Php
Substring
Doctrine2: Best way to handle many-to-many with extra columns in reference table
Php
Orm
Model
Doctrine
Doctrine Orm
Using mysql concat() in WHERE clause?
Php
Mysql
How to sanitze user input in PHP before mailing?
Php
Security
Email
Sanitize
PHP: Real world OOP example
Php
Oop
java equivalent to php's hmac-SHA1
Java
Php
Cryptography
Hmac
array_splice() for associative arrays
Php
Arrays
Command line progress bar in PHP
Php
PHP constructor to return a NULL
Php
Constructor
Error Handling
Null
Check if an include (or require) exists
Php
Include
Exists
Require
"Web interface" to PHPUnit tests?
Php
Unit Testing
Tdd
Phpunit
undefined offset PHP error
Php
Undefined
Offset
Go Back to Previous Page
Php
Javascript
Can I create a database using PDO in PHP?
Php
Mysql
Pdo
PHP - send file to user
Php
Remove all attributes from html tags
Php
PHP - Redirect and send data via POST
Php
Forms
Post
Scripting
newline not working in PHP mail
Php
Email
How do I embed PHP code in JavaScript?
Php
Javascript
PHP global or $GLOBALS
Php
Variables
Function
Global
Object of class stdClass could not be converted to string
Php
Codeigniter
Object
Stdclass
How to iterate UTF-8 string in PHP?
Php
Utf 8
regexp in switch statement
Php
Switch Statement
Simple PHP Post-Redirect-Get code example
Php
StringBuilder for PHP
Php
Stringbuilder
How to Use Order By for Multiple Columns in Laravel 4?
Php
Laravel
Laravel 4
Eloquent
Laravel Query-Builder
Passing base64 encoded strings in URL
Php
Url
String
Get
Base64
How can I add a PHP page to WordPress?
Php
Wordpress
Get Specific Columns Using “With()” Function in Laravel Eloquent
Php
Laravel
Orm
Eloquent
Laravel Query-Builder
Create a text file for download on-the-fly
Php
Http Headers
How to include only if file exists
Php
sudo pecl install apc returns error
Php
Pear
Apc
Pecl
How to get video duration, dimension and size in PHP?
Php
Video
Ffmpeg
Duration
Importing classes and namespaces in PHP: What difference does a leading backslash make?
Php
Import
Namespaces
Language Specifications
Best way to determine if a file is empty (php)?
Php
Strip off URL parameter with PHP
Php
preg_match(); - Unknown modifier '+'
Php
Xml
Parsing
Rss
MVC Question: Should I put form validation rules in the controller or model?
Php
Codeigniter
How to divide numbers without remainder in PHP?
Php
Math
Division
constant already defined in php
Php
Constants
php index of item
Php
Arrays
Indexing
If you create a variable inside a if statement is it available outside the if statement?
Php
Variables
The server encountered an internal error or misconfiguration and was unable to complete your request
Php
Mysql
Apache
MySQL get a random value between two values
Php
Mysql
How to prevent the "Confirm Form Resubmission" dialog?
Php
Javascript
Jquery
Codeigniter
Returning a value in constructor function of a class
Php
Oop
Class
Constructor
Should I use @return self, this or the current class?
Php
Documentation
Phpdoc
Doc
Accessing Class Properties with Spaces
Php
Oop
Class
Codeigniter
Properties
Doctrine2 Insert and retrieve new insert ID
Php
Doctrine Orm
PHP post_max_size overrides upload_max_filesize
Php
Upload
Filesize
How do I get the value from object(stdClass)?
Php
Parsing
parent::parent in PHP
Php
Oop
Parent
PHP DateTime class Namespace
Php
Datetime
Namespaces
integrating barcode scanner into php application?
Php
CentOS: Enabling GD Support in PHP Installation
Php
Linux
Cakephp
Gd
Centos
What is the difference between PHP echo and PHP return in plain English?
Php
Function
Return
Echo
Convert latin1 characters on a UTF8 table into UTF8
Php
Mysql
Utf 8
Character Encoding
Iso 8859-1
Enabling the OpenSSL in XAMPP
Php
Ssl
Xampp
Codeigniter displays a blank page instead of error messages
Php
Codeigniter
Doctrine2 migrations migrate down and migrate from browser and not command line
Php
Mysql
Symfony
Doctrine Orm
How to enable PHP support in Netbeans?
Php
Netbeans
Ubuntu
Netbeans 7
Netbeans Plugins
How do I enable php to work with postgresql?
Php
Windows
Postgresql
Pdo
mysql error 'TYPE=MyISAM'
Php
Mysql
Syntax Error
Myisam
Reading line by line from STDIN
Php
Pipe
Stdin
Call-time pass-by-reference has been removed
Php
Class
Function
Pass by-Reference
Public
PHP Sessions with disabled cookies, does it work?
Php
Session
Cookies
PHP Parse error: syntax error, unexpected T_OBJECT_OPERATOR
Php
How to get input field value using PHP
Php
PHP Multiple Checkbox Array
Php
Arrays
Variables
Checkbox
Why MAMP doesn't display errors?
Php
Error Handling
Mamp
WooCommerce - get category for product page
Php
Wordpress
Woocommerce
MySQL Drop Multiple Columns
Php
Mysql
Allowed memory size of 262144 bytes exhausted (tried to allocate 24576 bytes)
Php
Fatal error: Call to undefined function mb_detect_encoding()
Php
Mbstring
Laravel view not found exception
Php
Laravel
Laravel 4
Exception Handling
Fastest way to extract a specific frame from a video (PHP/ffmpeg/anything)
Php
Video
Ffmpeg
Mp4
Video Processing
How to fix Error: laravel.log could not be opened?
Php
Laravel
Permission Denied
Test if number is odd or even
Php
Variables
Numbers
Is there any way to test PHP locally without installing a server?
Php
Local
Testbed
Fatal error: Call to undefined function money_format()
Php
Cart
Shopping
How can I check if request was a POST or GET request in Symfony2 or Symfony3
Php
Symfony
Request
Http Post
Http Get
Change name of Laravel's created_at and updated_at
Php
Mysql
Laravel
Laravel 4
Yosemite / El Capitan php-gd + mcrypt installation
Php
Homebrew
Osx Yosemite
Osx Elcapitan
Php Gd
PHPMailer generates PHP Warning: stream_socket_enable_crypto(): Peer certificate did not match expected
Php
Ssl
Openssl
Phpmailer
Carbon - get first day of month
Php
Datetime
Laravel 4
Php Carbon
Error while sending QUERY packet
Php
Mysql
Laravel Homestead Swift Cannot send message without a sender address
Php
Laravel
Laravel 5.1
When should I use static methods?
Php
Oop
Error (near "ON" at position 25) while importing Table for WORDPRESS ( A foreign key Error)
Php
Mysql
Wordpress
Laravel migrations nice way of disabling foreign key checks
Php
Laravel
Migration
Stripe Payment: Getting Error as Customer cus_***** does not have a linked card with ID tok_*****
Javascript
Php
Jquery
Stripe Payments
Payment
Find last iteration of foreach loop in laravel blade
Php
Laravel
Laravel 5
Blade
Laravel Blade
How to test file upload in Laravel 5.2
Php
Unit Testing
Laravel
Testing
Upload
What is the postman-token header attribute in generated code from Postman?
Php
Rest
Curl
Postman
How to install GMP for PHP7 on Ubuntu
Php
Ubuntu
Using Docker I get the error: "SQLSTATE[HY000] [2002] No such file or directory"
Php
Mysql
Docker
Docker Compose
Dockerfile
Colon after method declaration?
Php
Php 7
How to install php extension using pecl for specific php version, when several php versions installed in system?
Php
Ubuntu
Php 7
Php Extension
Pecl
Laravel 5.3 date validator: equal to or after start_date
Php
Laravel
Validation
Laravel 5.3
PHP: cannot declare class because the name is already in use
Php
Oop
Script timeout passed, if you want to finish import, please resubmit the same file and import will resume
Php
Mysql
Import
Phpmyadmin
Ini
Update PHP to 7.4 macOS Catalina with brew
Php
Macos
Homebrew
Php 7.4
PHP: Access Array Value on the Fly
Php
Arrays
Coding Style
PHP Object as XML Document
Php
Xml
Xml Serialization
UTC Offset in PHP
Php
Timezone
Utc
Short unique id in php
Php
Uniqueidentifier
Unique Index
What does yield mean in PHP?
Php
Generator
Php 5.5
Yield Keyword
Laravel 5 – Remove Public from URL
Php
.Htaccess
Laravel
Mamp
Laravel 5
Delete directory with files in it?
Php
Rmdir
Looping Through All a Server's Sessions in PHP
Php
Session
How to check if memcache or memcached is installed for PHP?
Php
Apache
Scripting
Webserver
Blocking comment spam without using captcha
Php
Captcha
Spam
Strategy for developing namespaced and non-namespaced versions of same PHP code
Php
Namespaces
Migration
Compatibility
browscap ini directive not set
Php
Javascript
Ini
Browscap
Generate preview image from Video file?
Php
Video
Thumbnails
Php4
Add 'Watermark' to images with php
Php
Image
Watermark
url encode equivalent in ruby on rails
Php
Ruby on-Rails
Ruby
PHPExcel how to set cell value dynamically
Php
Excel 2003
Export to-Excel
Phpexcel
PHP exec - check if enabled or disabled
Php
Linux
Unix
Exec
Can I use string concatenation to define a class CONST in PHP?
Php
Class
Constants
Execute php file from another php
Php
How to find array / dictionary value using key?
Php
Arrays
Key
How to store an array into mysql?
Php
Mysql
Database
Check and return duplicates array php
Php
Arrays
Duplicates
Get each line from textarea
Php
Parsing
Textarea
Line
Calling a super method in PHP
Php
Oop
Alternative to file_get_contents?
Php
File Get-Contents
How can I make short random unique keys, like YouTube video IDs, in PHP?
Php
Unique
What is md5() for?
Php
Security
Passwords
PHP Event-Listener best-practice implementation
Php
Event Listener
PHP Class Constants - Public, Private or Protected?
Php
Constants
Determine in php script if connected to internet?
Php
Internet Connection
Strange behavior Of foreach
Php
Arrays
Foreach
Compiling php with curl, where is curl installed?
Php
Linux
Curl
Installation
Compilation
Mock in PHPUnit - multiple configuration of the same method with different arguments
Php
Mocking
Phpunit
Remove style attribute from HTML tags
Php
Regex
Tinymce
In PHPUnit, how do I indicate different with() on successive calls to a mocked method?
Php
Mocking
Phpunit
What do we need the PHP-exception code for? Any use case scenario?
Php
Exception
Exception Handling
How to select first 10 words of a sentence?
Php
String
Substring
Trim
PHPExcel very slow - ways to improve?
Php
Spreadsheet
Phpexcel
Why would Magento fail to save a customer after generating an ID?
Php
Mysql
Magento
PHP json_encode class private members
Php
Json
Redirecting to authentication dialog - "An error occurred. Please try again later"
Php
Facebook
Facebook Graph-Api
Generating SSH keys for 'apache' user
Php
Apache
Git
Github
Ssh Keys
PHP mySQL - Insert new record into table with auto-increment on primary key
Php
Mysql
Insert
Auto Increment
Architecture more suitable for web apps than MVC?
Php
Model View-Controller
Web Applications
Architecture
Updating object properties in twig
Php
Twig
PHP read and write JSON from file
Php
Json
How to remove the leading character from a string?
Php
String
Trim
PHP: merge two arrays while keeping keys instead of reindexing?
Php
Arrays
Array Merge
PHP Regex to Remove http:// from string
Php
Regex
Using a string path to set nested array data
Php
Arrays
Token
PHP to write Tab Characters inside a file?
Php
String
Csv
Tsv
Can't find the file created by outfile in MySQL
Php
Mysql
File
File Io
Variable-length lookbehind-assertion alternatives for regular expressions
Php
Javascript
Python
Regex
Perl
PHP DOM textContent vs nodeValue?
Php
Html
Dom
Get currency symbol in PHP
Php
Formatting
Currency
mkdir() says theres no such directory and fails?
Php
Upload
Mkdir
Zig-zag scan an N x N array
Php
Arrays
Algorithm
Zigzag
PhpStorm debugger not stopping at BreakPoints; keeps waiting for xdebug _SESSION_
Php
Xdebug
Phpstorm
how to align text to specific character in phpstorm or webstorm?
Php
Text
Alignment
Phpstorm
Webstorm
why should one prefer call_user_func_array over regular calling of function?
Php
Function
Callback
How do I install Composer on a shared hosting?
Php
Composer Php
Run a mySQL query as a cron job?
Php
Mysql
Shell
Cron
Creating a REST API using PHP
Php
Json
Api
Rest
Curl
How to get root directory in yii2
Php
Frameworks
Yii2
The CSRF token is invalid. Please try to resubmit the form
Php
Symfony
Twig
999 Error Code on HEAD request to LinkedIn
Php
Curl
Linkedin
json_encode function not return Braces {} when array is empty in php
Php
Arrays
Json
How can I use a simple Dropdown list in the search box of GridView::widget, Yii2?
Php
Search
Gridview
Drop Down-Menu
Yii2
Laravel Lumen Memcached not found
Php
Laravel
Memcached
Lumen
What is the size limit of a post request?
Php
Internet Explorer
Http
Post
PHP's array_map including keys
Php
Arrays
Functional Programming
How to use __dir__?
Php
Dir
Why does this PDO statement silently fail?
Php
Pdo
Laravel Model with Two Primary Keys update
Php
Laravel
Laravel 5
Eloquent
Composite Primary-Key
How to drop softDeletes from a table in a migration
Php
Database
Laravel
Laravel Migrations
How to add custom config file to app/config in Laravel 5?
Php
Laravel
Laravel 5
Configuration
Why Xampp control panel shows an error access denied upon launch
Php
Apache
Xampp
Bitnami
How to properly use Bearer tokens?
Php
Authentication
Oauth
Http Headers
Bearer Token
How to break a foreach loop in laravel blade view?
Php
Laravel
Foreach
Blade
Build working libcurl with WinSSL, NTLM, HTTP2, SSH2 and IPv6 support
Php
Libcurl
Php Curl
Symfony Make:Migration : The metadata storage is not up to date, please run the sync-metadata-storage command to fix this issue
Php
Symfony
Error Handling
Metadata
PHP function to generate v4 UUID
Php
Function
Uuid
php execute a background process
Php
How to configure XAMPP to send mail from localhost?
Php
Xampp
Exploitable PHP functions
Php
Security
Grep
Laravel: How to Get Current Route Name? (v5 ... v7)
Php
Laravel
Laravel 5
Laravel Routing
Laravel 6
How do I make a request using HTTP basic authentication with PHP curl?
Php
Rest
Curl
Basic Authentication
in_array() and multidimensional array
Php
Arrays
Multidimensional Array
PHP: Return all dates between two dates in an array
Php
Datetime
Date Range
Class 'DOMDocument' not found
Php
Xml
Magento
Converting timestamp to time ago in PHP e.g 1 day ago, 2 days ago...
Php
Timestamp
PHP Redirect with POST data
Php
Post
What are namespaces?
Php
Namespaces
Convert timestamp to readable date/time PHP
Php
PHP - concatenate or directly insert variables in string
Php
String
Variables
Concatenation
Cannot simply use PostgreSQL table name ("relation does not exist")
Php
Sql
Postgresql
Quoted Identifier
PHP Warning: POST Content-Length of 8978294 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
Wordpress
Xampp
Php
What are Long-Polling, Websockets, Server-Sent Events (SSE) and Comet?
Php
Websocket
Comet
Long Polling
Server Sent-Events
How do I expire a PHP session after 30 minutes?
Php
Session
Cookies
What is stdClass in PHP?
Php
Stdclass
Good PHP ORM Library?
Php
Database
Orm
How to extract and access data from JSON with PHP?
Php
Json
How to get name of calling function/method in PHP?
Php
Debugging
Backtrace
Method Call
How to validate an email address in PHP
Php
Regex
Email
Email Validation
Add a custom attribute to a Laravel / Eloquent model on load?
Php
Orm
Laravel
Eloquent
Remove warning messages in PHP
Php
Warnings
Error Reporting
Setting Curl's Timeout in PHP
Php
Http
Curl
Timeout
How to query all the GraphQL type fields without writing a long query?
Php
Laravel
Graphql
Graphql Php
How do I get a file name from a full path with PHP?
Php
Filenames
Target class controller does not exist - Laravel 8
Php
Laravel
Laravel 8
Laravel Routing
Is there an equivalent for var_dump (PHP) in Javascript?
Php
Javascript
Adding days to $Date in PHP
Php
Date
How can I put strings in an array, split by new line?
Php
String
Line Breaks
How to get the jQuery $.ajax error response text?
Php
Javascript
Jquery
Ajax
Error Handling
Get absolute path of initially run script
Php
Path
Include
Simplest two-way encryption using PHP
Php
Security
Encryption
Cryptography
Encryption Symmetric
How do I log errors and warnings into a file?
Php
Error Handling
How do you Encrypt and Decrypt a PHP String?
Php
Security
Encryption
Cryptography
Encryption Symmetric
Can PHP PDO Statements accept the table or column name as parameter?
Php
Pdo
Facebook API - How do I get a Facebook user's profile image through the Facebook API (without requiring the user to "Allow" the application)
Php
Facebook
Creating PHP class instance with a string
Php
How to save a PNG image server-side, from a base64 data URI
Php
Javascript
Base64
Html5 Canvas
Remove all special characters from a string
Php
Regex
Url
Slug
What's better at freeing memory with PHP: unset() or $var = null
Php
Fastest way to convert string to integer in PHP
Php
Optimization
Casting
How to echo or print an array in PHP?
Php
Arrays
What is phtml, and when should I use a .phtml extension rather than .php?
File Extension
Php
What's the difference between require and require-dev?
Php
Installation
Composer Php
How to get multiple selected values of select box in php?
Php
Html
Drop Down-Menu
Combobox
Html Table
JavaScript equivalent of PHP's in_array()
Php
Javascript
Phpjs
How do I get the function name inside a function in PHP?
Php
Function
How to use a switch case 'or' in PHP
Php
Switch Statement
Case
How do I get a PHP class constructor to call its parent's parent's constructor?
Php
Class
Oop
Inheritance
Constructor
How to install and run phpize
Ffmpeg
Php
Convert DateTime to String PHP
Php
Datetime
Getting visitors country from their IP
Php
Geolocation
Ip
Country Codes
How to remove unused dependencies from composer?
Php
Composer Php
What is the difference between public, private, and protected?
Php
Oop
Private
Public
Protected
How do I use PHP to get the current year?
Php
Date
Php 5.3
Php 5.4
Php4
PHP array delete by value (not key)
Php
Arrays
Returning JSON from a PHP Script
Php
Json
Header
Is there any particular difference between intval and casting to int - `(int) X`?
Php
How to use PHP OPCache?
Php
Opcache
Tactics for using PHP in a high-load site
Php
Performance
High Load
How to generate XML file dynamically using PHP?
Php
Xml
Is it possible to delete an object's property in PHP?
Php
Object
PHP array: count or sizeof?
Php
What Are the Differences Between PSR-0 and PSR-4?
Php
Laravel
Composer Php
Psr 0
Psr 4
WRONGTYPE Operation against a key holding the wrong kind of value php
Php
Redis
Force SSL/https using .htaccess and mod_rewrite
Php
.Htaccess
Mod Rewrite
Ssl
Https
On delete cascade with doctrine2
Php
Doctrine Orm
Symfony
Cascading Deletes
Laravel 4: how to "order by" using Eloquent ORM
Php
Laravel
Laravel 4
Eloquent
Disable Laravel's Eloquent timestamps
Php
Laravel
Eloquent
How to include() all PHP files from a directory?
Php
Include
Get the first N elements of an array?
Php
Arrays
Warning: mysql_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in
Php
Mysql
Database
Check whether an array is empty
Php
Arrays
What is cURL in PHP?
Php
Curl
Send attachments with PHP Mail()?
Php
Safely remove migration In Laravel
Php
Database
Laravel
Artisan Migrate
Which version of CodeIgniter am I currently using?
Php
Codeigniter
How to display HTML tags as plain text
Php
Html
Running Composer returns: "Could not open input file: composer.phar"
Php
Symfony
Wamp
Composer Php
PHP - Debugging Curl
Php
Debugging
Curl
file_get_contents(): SSL operation failed with code 1, Failed to enable crypto
Php
Rest
Ssl
File Get-Contents
What is the best method to merge two PHP objects?
Php
Oop
Object
How to get current route in Symfony 2?
Php
Symfony
Routing
Symfony Routing
What is the point of interfaces in PHP?
Php
Oop
Interface
Theory
Detecting request type in PHP (GET, POST, PUT or DELETE)
Php
Http
Request
Where can I find php.ini?
Php
Linux
Php Ini
How can I get parameters from a URL string?
Php
Url Parsing
php stdClass to array
Php
Arrays
How do I install the ext-curl extension with PHP 7?
Php
Curl
Php 7
Find the last element of an array while using a foreach loop in PHP
Php
Foreach
What is <=> (the 'Spaceship' Operator) in PHP 7?
Php
Operators
Php 7
Spaceship Operator
What do strict types do in PHP?
Php
Php 7.2
Strong Typing
Weak Typing
Remove multiple whitespaces
Php
Regex
String
Preg Replace
Whitespace
PHP prepend leading zero before single digit number, on-the-fly
Php
String
Numbers
Zero
Why a function checking if a string is empty always returns true?
Php
String
Validation
Fatal error: Class 'SoapClient' not found
Php
Soap
Fatal Error
How can I send a Firebase Cloud Messaging notification without use the Firebase Console?
Php
Android
Firebase
Firebase Cloud-Messaging
Is there way to use two PHP versions in XAMPP?
Php
Xampp
I have 2 dates in PHP, how can I run a foreach loop to go through all of those days?
Php
Foreach
Date
How to increase maximum execution time in php
Php
Ini
Execution Time
Composer install error - requires ext_curl when it's actually enabled
Php
Windows
Curl
Facebook Php-Sdk
Composer Php
Can you "compile" PHP code and upload a binary-ish file, which will just be run by the byte code interpreter?
Php
Bytecode
Compare given date with today
Php
Date
Datetime
PHPMailer character encoding issues
Php
Email
Phpmailer
How to make asynchronous HTTP requests in PHP
Php
Http
Asynchronous
PHP, get file name without file extension
Php
File
String
PHP DOMDocument loadHTML not encoding UTF-8 correctly
Php
Utf 8
Character Encoding
How to render a DateTime object in a Twig template
Php
Symfony
Datetime
Twig
Multiple returns from a function
Php
Get random item from array
Php
Random
What does this mean in PHP: -> or =>
Php
Syntax
How to insert an item at the beginning of an array in PHP?
Php
Arrays
Visual Studio Code PHP Intelephense Keep Showing Not Necessary Error
Php
Laravel
Visual Studio-Code
mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc... expects parameter 1 to be resource
Php
Mysql
How do I get the current date and time in PHP?
Php
Datetime
Get the full URL in PHP
Php
Url
Remove first 4 characters of a string with PHP
Php
String
Character
How to remove the querystring and get only the url?
Php
Query String
how to bypass Access-Control-Allow-Origin?
Javascript
Php
Jquery
Ajax
Cors
Laravel: Get base URL
Php
Laravel
Base Url
Unzip a file with php
Php
Unzip
Simplest way to detect a mobile device in PHP
Php
Mobile
How to Remove Array Element and Then Re-Index Array?
Php
Arrays
Indexing
php is null when empty?
Php
Null
Get the client IP address using PHP
Php
Ip Address
Is there a code obfuscator for PHP?
Php
Obfuscation
How are echo and print different in PHP?
Php
Echo
Set a cookie to never expire
Php
Cookies
Create a CSV File for a user in PHP
Php
Csv
Download
Http Headers
Anonymous recursive PHP functions
Php
Recursion
Lambda
Closures
Anonymous Function
What is Autoloading; How do you use spl_autoload, __autoload and spl_autoload_register?
Php
Autoload
Spl
Illegal string offset Warning PHP
Php
Warnings
The character encoding of the HTML document was not declared
Php
Html
How to call a JavaScript function from PHP?
Php
Javascript
PHP Pass variable to next page
Php
Variables
Session
Get value from SimpleXMLElement Object
Php
Simplexml
How can I enable cURL for an installed Ubuntu LAMP stack?
Php
Ubuntu
Curl
Lamp
Parse query string into an array
Php
Arrays
String
Cookies vs. sessions
Php
Session
Cookies
PHP - SSL certificate error: unable to get local issuer certificate
Php
Ssl
Curl
Xampp
Mandrill
What's the difference between :: (double colon) and -> (arrow) in PHP?
Php
PHP random string generator
Php
String
Random
Remove empty array elements
Php
Arrays
String
Escaping single quote in PHP when inserting into MySQL
Php
Mysql
Insert
Escaping
Fatal error: Class 'ZipArchive' not found in
Php
Zip
Ziparchive
Getter and Setter?
Php
Oop
Coding Style
How to find entry by object property from an array of objects?
Php
Arrays
Object
What does a \ (backslash) do in PHP (5.3+)?
Php
Namespaces
Opcode
Opcache
Nginx 403 forbidden for all files
Nginx
Centos
Http Status-Code-403
Php
What is output buffering?
Php
Output Buffering
How to resolve "must be an instance of string, string given" prior to PHP 7?
Php
Types
Type Hinting
Generating a random password in php
Php
Security
Random
Passwords
PHP 5.4 Call-time pass-by-reference - Easy fix available?
Php
Correctly determine if date string is a valid date in that format
Php
Date
Datetime
How can I use Guzzle to send a POST request in JSON?
Php
Postman
Guzzle
How to comment in laravel .env file?
Php
Laravel
Laravel 5
Environment Variables
Best way to use PHP to encrypt and decrypt passwords?
Php
Mcrypt
Encryption
Scramble
php Replacing multiple spaces with a single space
Php
Regex
Formatting
String Formatting
Ereg Replace
What is the difference between is_a and instanceof?
Php
PHP Get Site URL Protocol - http vs https
Php
Url
Ssl
GET URL parameter in PHP
Php
Url
Redirect
Getting HTTP code in PHP using curl
Php
Performance
Curl
Http Headers
How Can I Set the Default Value of a Timestamp Column to the Current Timestamp with Laravel Migrations?
Php
Mysql
Laravel
Laravel 4
Laravel 5
Laravel Unknown Column 'updated_at'
Php
Mysql
Laravel
Laravel Migrations
require(vendor/autoload.php): failed to open stream
Php
Email
Composer Php
Phpmailer
How can I check if a URL exists via PHP?
Php
Url
Converting a UNIX Timestamp to Formatted Date String
Php
Unix Timestamp
Cannot pass null argument when using type hinting
Php
Type Hinting
How to fix error with xml2-config not found when installing PHP from sources?
Php
Compilation
Php 5.3
How to get a variable name as a string in PHP?
Php
How do I convert a PDF document to a preview image in PHP?
Php
Image
Pdf
Lamp
Laravel PHP Command Not Found
Php
Bash
Laravel
What does '<?=' mean in PHP?
Php
Syntax
GCM with PHP (Google Cloud Messaging)
Php
Android
Firebase Cloud-Messaging
Google Cloud-Messaging
Access Controller method from another controller in Laravel 5
Php
Laravel
Laravel 5
Controller
How do you implement a good profanity filter?
Php
Regex
User Input
How to initialize static variables
Php
Class
Static Members
Row count with PDO
Php
Mysql
Pdo
PHP - how to best determine if the current invocation is from CLI or web server?
Php
PHP function overloading
Php
Arguments
Overloading
Using braces with dynamic variable names in PHP
Php
Variables
Dynamic
Dynamic Variables
Switch php versions on commandline ubuntu 16.04
Php
Apache
Command Line-Interface
Php 5.6
Php 7.1
Format bytes to kilobytes, megabytes, gigabytes
Php
How to insert element into arrays at specific position?
Php
Arrays
PHP sprintf escaping %
Php
Escaping
Printf
Multi-line strings in PHP
Php
String
How to get the request parameters in Symfony 2?
Php
Symfony
What is the best way to stop people hacking the PHP-based highscore table of a Flash game
Php
Actionscript 3
Security
Actionscript
Actionscript 2
What's quicker and better to determine if an array key exists in PHP?
Php
Performance
Convert a PHP object to an associative array
Php
Arrays
+ operator for array in PHP?
Php
Arrays
Guzzlehttp - How get the body of a response from Guzzle 6?
Php
Response
Guzzle
Guzzle6
Adding one day to a date
Php
Date
Datetime
Curly braces in string in PHP
Php
String
How can I remove a key and its value from an associative array?
Php
Arrays
PHP - Move a file into a different folder on the server
Php
Directory
Move
Unlink
What are the differences between composer update and composer install?
Php
Composer Php
Using Default Arguments in a Function
Php
Arguments
Default
Creating the Singleton design pattern in PHP5
Php
Oop
Design Patterns
Singleton
Asynchronous shell exec in PHP
Php
Asynchronous
Shell
How to remove duplicate values from an array in PHP
Php
Arrays
Duplicate Data
PHP server on local machine?
Php
Server
Local
How can I output a UTF-8 CSV in PHP that Excel will read properly?
Php
Csv
Utf 8
Byte Order-Mark
Convert php array to Javascript
Php
Javascript
Arrays
How to query between two dates using Laravel and Eloquent?
Php
Laravel
Laravel 5
Orm
Getting the location from an IP address
Php
Geolocation
Ip
Geoip
What is the function __construct used for?
Php
Constructor
Why use sprintf function in PHP?
Php
Printf
HTTPS and SSL3_GET_SERVER_CERTIFICATE:certificate verify failed, CA is OK
Php
Ssl
Curl
Openssl
Ca
PHP check whether property exists in object or class
Php
Class
Variables
Object
Parameters
How can I explode and trim whitespace?
Php
Explode
Trim
Higher Order-Functions
PHP PDO: charset, set names?
Php
Mysql
Pdo
Cross-Origin Request Headers(CORS) with PHP headers
Php
Javascript
Xmlhttprequest
Cors
What's the difference between echo, print, and print_r in PHP?
Php
Double not (!!) operator in PHP
Php
Operators
How do I convert an object to an array?
Php
What is the advantage of using heredoc in PHP?
Php
Heredoc
How do I see the extensions loaded by PHP?
Php
Php Extension
How to find out if you're using HTTPS without $_SERVER['HTTPS']
Php
Https
How to trigger XDebug profiler for a command line PHP script?
Php
Configuration
Command Line
Profiling
Xdebug
PHP function to make slug (URL string)
Php
Internationalization
Slug
Fastest hash for non-cryptographic uses?
Php
Database
Security
Hash
What is thread safe or non-thread safe in PHP?
Php
Multithreading
Package
Thread Safety
Threadcontext
What is the difference between single-quoted and double-quoted strings in PHP?
Php
String
Syntax
PHP - Failed to open stream : No such file or directory
Php
Require
Fopen
Include Path
Rebase array keys after unsetting elements
Php
Bulk Insertion in Laravel using eloquent ORM
Php
Laravel
Eloquent
Better way to check variable for null or empty string?
Php
Validation
How to trim white spaces of array values in php
Php
Arrays
How to deploy correctly when using Composer's develop / production switch?
Php
Deployment
Composer Php
PHP - Get bool to echo false when false
Php
Boolean
Laravel 5 - How to access image uploaded in storage within View?
Php
Laravel
Laravel 5
How do I Sort a Multidimensional Array in PHP
Php
Sorting
Multidimensional Array
PHP substring extraction. Get the string before the first '/' or the whole string
Php
String
Substring
Setting up a deployment / build / CI cycle for PHP projects
Php
Continuous Integration
Phing
Phpundercontrol
How to prevent form resubmission when page is refreshed (F5 / CTRL+R)
Php
Html
Forms
Post
Form Submit
How to convert XML into array in PHP?
Php
Xml
How to POST JSON Data With PHP cURL?
Php
Json
Rest
Curl
What does "Mass Assignment" mean in Laravel?
Php
Laravel
Eloquent
Mass Assignment
Laravel-5 'LIKE' equivalent (Eloquent)
Php
Mysql
Laravel 5
What is the meaning of three dots (...) in PHP?
Php
Syntax
Operators
How do you create optional arguments in php?
Php
PHP/MySQL insert row then get 'id'
Php
Mysql
Print array to a file
Php
Serialization
How to Truncate a string in PHP to the word closest to a certain number of characters?
Php
String
Function
Best way to clear a PHP array's values
Php
Arrays
Automatically deleting related rows in Laravel (Eloquent ORM)
Php
Laravel
Eloquent
Eloquent Relationship
json_encode() escaping forward slashes
Php
Json
Create or write/append in text file
Php
How to check if PHP array is associative or sequential?
Php
Arrays
Why do some scripts omit the closing PHP tag, '?>'?
Php
Coding Style
PHP Pass by reference in foreach
Php
array_push() with key value pair
Php
Arrays
PHP - Get key name of array value
Php
Arrays
Array Key
How to require a fork with composer?
Php
Composer Php
Best practice multi language website
Php
Mysql
Localization
Internationalization
Multilingual
How to Get the Query Executed in Laravel 5? DB::getQueryLog() Returning Empty Array
Php
Logging
Laravel
Laravel 5
How to catch cURL errors in PHP
Php
Curl
selecting unique values from a column
Php
Mysql
Sql
What are the Differences Between "php artisan dump-autoload" and "composer dump-autoload"?
Php
Laravel
Laravel 4
Laravel Artisan
PHP with MySQL 8.0+ error: The server requested authentication method unknown to the client
Php
Mysql
Mysql 8.0
Way to get all alphabetic chars in an array in PHP?
Php
How to output in CLI during execution of PHP Unit tests?
Php
Unit Testing
Phpunit
Parse error: Syntax error, unexpected end of file in my PHP code
Php
Html
Parse Error
How to insert multiple rows from a single query using eloquent/fluent
Php
Sql
Laravel
Eloquent
Best way to test for a variable's existence in PHP; isset() is clearly broken
Php
Variables
Isset
Upgrading PHP in XAMPP for Windows?
Php
Windows
Xampp
Differences and Similarities Between Lumen and Laravel
Php
Laravel
Lumen
PHP: Storing 'objects' inside the $_SESSION
Php
Session
Object
Doctrine - How to print out the real sql, not just the prepared statement?
Php
Mysql
Orm
Doctrine
Doctrine Query
Are "elseif" and "else if" completely synonymous?
Php
Syntax
Conditional Statements
In PHP, why does </script> not show a parse error?
Php
Syntax
Parse Error
Unexpected results when working with very big integers on interpreted languages
Php
node.js
Precision
Integer Overflow
Integer Arithmetic
How do I create a copy of an object in PHP?
Php
Copy
Clone
Shallow Copy
MySQL Great Circle Distance (Haversine formula)
Php
Mysql
Great Circle
How to loop through an associative array and get the key?
Php
Loops
Associative Array
How to delete a file via PHP?
Php
File Io
How do I convert a string to a number in PHP?
Php
Casting
Type Conversion
PHP Composer update "cannot allocate memory" error (using Laravel 4)
Php
Laravel
Laravel 4
Composer Php
Laravel 5 Clear Views Cache
Php
Caching
Laravel
Laravel 5
Laravel Artisan
How do I implement a callback in PHP?
Php
Include constant in string without concatenating
Php
String
Constants
Concatenation
Do login forms need tokens against CSRF attacks?
Php
Token
Csrf
Why does the PHP json_encode function convert UTF-8 strings to hexadecimal entities?
Php
Encoding
Json
Guzzle 6: no more json() method for responses
Php
Guzzle
How to get the first item from an associative PHP array?
Php
How to declare a global variable in php?
Php
Global Variables
Global
Nullable return types in PHP7
Php
Nullable
Return Type
Type Hinting
Php 7
How to remove all non printable characters in a string?
Php
Utf 8
Ascii
PHP $_SERVER['HTTP_HOST'] vs. $_SERVER['SERVER_NAME'], am I understanding the man pages correctly?
Php
Apache
Security
Owasp
What are the disadvantages of using persistent connection in PDO
Php
Pdo
submit a form in a new tab
Php
Jquery
Forms
Http Post
Unicode character in PHP string
Php
Unicode
Doing HTTP requests FROM Laravel to an external API
Php
Http
Laravel
Request
Amazon S3 - How to fix 'The request signature we calculated does not match the signature' error?
Php
Amazon Web-Services
Amazon S3
Aws Php-Sdk
CodeIgniter: Create new helper?
Php
Codeigniter
Codeigniter Helpers
How to display string that contains HTML in twig template?
Php
Html
Symfony
Twig
Get the Query Executed in Laravel 3/4
Php
Laravel
Orm
Eloquent
Laravel Query-Builder
Nginx serves .php files as downloads, instead of executing them
Php
Wordpress
Nginx
Location
Fastcgi
Among $_REQUEST, $_GET and $_POST which one is the fastest?
Php
Reference: Comparing PHP's print and echo
Php
Echo
Refresh a page using PHP
Php
Refresh
How to fix "Headers already sent" error in PHP
Php
Header
How to get a file's extension in PHP?
Php
File Extension
Best Practices: working with long, multiline strings in PHP?
Php
String
Strtotime() doesn't work with dd/mm/YYYY format
Php
What does the PHP error message "Notice: Use of undefined constant" mean?
Php
Constants
Undefined
How to check that a string is an int, but not a double, etc.?
Php
String
Casting
Types
Int
How can I remove part of a string in PHP?
Php
String
PHP method chaining or fluent interface?
Php
Oop
Method Chaining
Fluent Interface
Array copy values to keys in PHP
Php
Arrays
How can I trim all strings in an Array?
Php
Arrays
Trim
PDO get the last ID inserted
Php
Mysql
Database
Pdo
Laravel migration: unique key is too long, even if specified
Php
Mysql
Laravel
Migration
Unique Key
Difference between break and continue in PHP?
Php
Remove useless zero digits from decimals in PHP
Php
Numbers
Decimal
How to alias a table in Laravel Eloquent queries (or using Query Builder)?
Php
Laravel
Laravel 4
Eloquent
jQuery AJAX file upload PHP
Javascript
Php
Jquery
Ajax
Upload
PHP 5: const vs static
Php
Object
Constants
Class Design
Static Members
call a static method inside a class?
Php
Weird PHP error: 'Can't use function return value in write context'
Php
Fatal Error
Cached, PHP generated Thumbnails load slowly
Php
Performance
.Htaccess
Cache Control
How to remove line breaks (no characters!) from the string?
Php
Html
Replace
Line Breaks
Nl2br
nginx showing blank PHP pages
Nginx
Php
Make var_dump look pretty
Php
Arrays
Var Dump
How to call a PHP function on the click of a button
Php
Html
Htmlbutton
How do you connect to multiple MySQL databases on a single webpage?
Php
Mysql
PHP function to build query string from array
Php
How to get URL of current page in PHP
Php
How do I implement basic "Long Polling"?
Php
Http
Comet
Get first key in a (possibly) associative array?
Php
Arrays
Remove the last character from a string
Php
How can I execute PHP code from the command line?
Php
Linux
Function
Shell
Command Line
Which is a better way to check if an array has more than one element?
Php
Arrays
Remove portion of a string after a certain character
Php
String
PHP calculate age
Php
PHP convert XML to JSON
Php
Xml
Json
Twig ternary operator, Shorthand if-then-else
Php
Twig
Conditional Operator
PHP Fatal error: Call to undefined function json_decode()
Php
Json
Apache
Ubuntu
Creating and Update Laravel Eloquent
Php
Laravel
Eloquent
Laravel Query-Builder
How do I get an object's unqualified (short) class name?
Php
Class
Namespaces
Only variable references should be returned by reference - Codeigniter
Php
Apache
Codeigniter
Apache2
Codeigniter 2
PHP error: "The zip extension and unzip command are both missing, skipping."
Php
Composer Php
PHP: How to remove specific element from an array?
Php
Arrays
Compare floats in php
Php
Floating Point
Export to CSV via PHP
Php
Csv
How to get a substring between two strings in PHP?
Php
Substring
How to parse a CSV file using PHP
Php
Csv
Fgetcsv
How to get everything after a certain character?
Php
String
file_put_contents(meta/services.json): failed to open stream: Permission denied
Php
Exception
Laravel
Laravel 4
Laravel 5.5 ajax call 419 (unknown status)
Php
Jquery
Ajax
Laravel
Sort an Array by keys based on another Array?
Php
Arrays
Sorting
Prevent direct access to a php include file
Php
Include
Include Guards
The first day of the current month in php using date_modify as DateTime object
Php
Date
Datetime
In php, is 0 treated as empty?
Php
Function
How to remove all leading zeroes in a string
Php
String
Laravel Check If Related Model Exists
Php
Laravel
Laravel 4
Eloquent
Laravel 5
Checking if an instance's class implements an interface?
Php
Interface
Oop
How to Debug Variables in Smarty like in PHP var_dump()
Php
Templates
Debugging
Smarty
Difference between "include" and "require" in php
Php
Include
Require
Two-way encryption: I need to store passwords that can be retrieved
Php
Security
Encryption
Passwords
What are the best practices for catching and re-throwing exceptions?
Php
Exception
Access denied for user 'homestead'@'localhost' (using password: YES)
Php
Laravel
Laravel 5
Database Migration
Homestead
Where are $_SESSION variables stored?
Php
PHP 5 disable strict standards error
Php
Strict
Best way to check if a URL is valid
Php
Php multiple delimiters in explode
Php
Explode
How can I combine two strings together in PHP?
Php
String
Variables
Combinations
PHP string "contains"
Php
Regex
String
Reference: What is variable scope, which variables are accessible from where and what are "undefined variable" errors?
Php
Scope
What is the best collation to use for MySQL with PHP?
Php
Mysql
Encoding
Collation
How to calculate the difference between two dates using PHP?
Php
Datetime
Datediff
Hidden Features of PHP?
Php
Hidden Features
Parsing domain from a URL
Php
PHPUnit: assert two arrays are equal, but order of elements not important
Php
Unit Testing
Phpunit
Assert
Make column not nullable in a Laravel migration
Php
Sql
Database Migration
Laravel
PHP Difference between array() and []
Php
Arrays
Syntax
Square Bracket
When to use static vs instantiated classes
Php
Oop
Class
How to copy a file from one directory to another using PHP?
Php
File
File Io
Copy
Filesystems
.rar, .zip files MIME Type
Php
Zip
Mime Types
Rar
PHP-FPM doesn't write to error log
Php
Get current domain
Php
Url
Php 5.2
Composer killed while updating
Php
Laravel
Laravel 4
Composer Php
PHP 7: Missing VCRUNTIME140.dll
Php
Windows
Dll
Php 7
How to clear APC cache entries?
Php
Performance
Caching
Apc
How can I select and upload multiple files with HTML and PHP, using HTTP POST?
Php
Html
Http
Post
Upload
How can I store my users' passwords safely?
Php
Security
Passwords
Salt
Password Hash
Removing array item by value
Php
Arrays
Why is === faster than == in PHP?
Php
Operators
Comparison Operators
Equality Operator
Identity Operator
PHP foreach change original array values
Php
Arrays
Foreach
Laravel csrf token mismatch for ajax POST Request
Php
Jquery
Ajax
Laravel
How to let PHP to create subdomain automatically for each user?
Php
Subdomain
Can I extend a class using more than 1 class in PHP?
Php
Class
Oop
Extends
MySQL vs MySQLi when using PHP
Php
Mysql
Mysqli
How do you reindex an array in PHP but with indexes starting from 1?
Php
Arrays
Indexing
How do I PHP-unserialize a jQuery-serialized form?
Php
Jquery
Serialization
How to get the first word of a sentence in PHP?
Php
String
Extract
Text Segmentation
What are the best PHP input sanitizing functions?
Php
Filter
Sanitization
Remove a string from the beginning of a string
Php
String
How to change the session timeout in PHP?
Php
Session
Session Timeout
Twig for loop for arrays with keys
Php
Arrays
Loops
Twig
Convert number to month name in PHP
Php
Date
Does file_get_contents() have a timeout setting?
Php
Timeout
File Get-Contents
PHP cURL not working - WAMP on Windows 7 64 bit
Php
Curl
Wamp
How do I send a POST request with PHP?
Php
Http
Post
Request
How do I get the query builder to output its raw SQL query as a string?
Php
Sql
Laravel
Eloquent
Laravel Query-Builder
How can I run specific migration in laravel
Php
Laravel
PHP Fatal error: Cannot redeclare class
Php
Class
Fatal Error
Display numbers with ordinal suffix in PHP
Php
Numbers
The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
Mysql
Deprecated
Php
How to get client IP address in Laravel 5+
Php
Laravel
Laravel 5
Laravel 5.7
What type of hash does WordPress use?
Php
Wordpress
Hash
Is there a PHP function that can escape regex patterns before they are applied?
Php
Regex
Escaping
How do I pass JavaScript variables to PHP?
Php
Javascript
Variables
Get $_POST from multiple checkboxes
Php
Html
Forms
Checkbox
Measuring the distance between two coordinates in PHP
Php
Coordinates
Geocoding
Haversine
Laravel orderBy on a relationship
Php
Laravel
Laravel 4
Relationship
Why does 1...1 evaluate to 10.1?
Php
Echo
Ellipsis
What's the deal with a leading underscore in PHP class methods?
Php
Coding Style
Get PHP class property by string
Php
String
Oop
Properties
Increment value in MySQL update query
Php
Mysql
Sql
Sql Update
PHP reindex array?
Php
Arrays
Indexing
Convert Base64 string to an image file?
Php
Base64
CodeIgniter removing index.php from url
Php
.Htaccess
Codeigniter
Apache2
HTTP Content-Type Header and JSON
Javascript
Php
Json
Http
Http Headers
PHP Get all subdirectories of a given directory
Php
List
Get
Subdirectory
Get JSON object from URL
Php
Json
MVC (Laravel) where to add logic
Php
Design Patterns
Laravel
Laravel 4
Difference between if () { } and if () : endif;
Php
Syntax
PDO Prepared Inserts multiple rows in single query
Php
Pdo
Insert
Prepared Statement
Run php script as daemon process
Php
Linux
Unix
Daemon
Copy entire contents of a directory to another using php
Php
How can I make PHP display the error instead of giving me 500 Internal Server Error
Apache
Php
php - get numeric index of associative array
Php
Arrays
How do I pass variables and data from PHP to JavaScript?
Javascript
Php
PHP parse/syntax errors; and how to solve them
Php
Parsing
Debugging
Syntax Error
What are the differences in die() and exit() in PHP?
Php
Exit
Die
SQL injection that gets around mysql_real_escape_string()
Php
Mysql
Sql
Security
Sql Injection
Passing an Array as Arguments, not an Array, in PHP
Php
Arrays
Function
Methods
PHP foreach loop key value
Php
Foreach
How do I remove  from the beginning of a file?
Php
Utf 8
Character Encoding
Byte Order-Mark
Mojibake
Replace last occurrence of a string in a string
Php
String
Replace
Last Occurrence
Mixing a PHP variable with a string literal
Php
String
Variables
PHP Foreach Pass by Reference: Last Element Duplicating? (Bug?)
Php
Arrays
Loops
Reference
How to get WordPress post featured image URL
Php
Wordpress
Post
What is the difference between self::$bar and static::$bar in PHP?
Php
Oop
Php 5.3
Should I mix AngularJS with a PHP framework?
Php
Web Applications
Angularjs
What is the canonical way to determine commandline vs. http execution of a PHP script?
Php
Http
Command Line
Command Line-Interface
Memcached vs APC which one should I choose?
Php
Caching
Memcached
Apc
PHP - Extracting a property from an array of objects
Php
PHP Fatal error: Using $this when not in object context
Php
Function
Class
Object
Fatal Error
Why would $_FILES be empty when uploading files to PHP?
Php
Apache
File Upload
PHP script - detect whether running under linux or Windows?
Php
Windows
Linux
Operating System
Detect
Is there an easy way of seeing PHP info?
Php
Difference between "!==" and "==!"
Php
Comparison
Operators
Comparison Operators
How to disable registration new users in Laravel
Php
Laravel
Warning: A non-numeric value encountered
Php
Easy way to test a URL for 404 in PHP?
Php
Http
Validation
Http Headers
Http Status-Code-404
instantiate a class from a variable in PHP?
Php
Class
Variables
Eval
How to zip a whole folder using PHP
Php
Zip
PHP: Convert any string to UTF-8 without knowing the original character set, or at least try
Php
Utf 8
Character Encoding
move_uploaded_file gives "failed to open stream: Permission denied" error
Php
Upload
File Permissions
How to order results with findBy() in Doctrine
Php
Doctrine Orm
Getting current date, time, and day in Laravel
Php
Date
Laravel
How to extract img src, title and alt from html using php?
Php
Html
Regex
Html Parsing
Html Content-Extraction
What is your preferred php deployment strategy?
Php
Deployment
Capistrano
How to search by key=>value in a multidimensional array in PHP
Php
Arrays
Search
Recursion
Detect Browser Language in PHP
Php
Cross Browser
Browser Detection
How can I set the PHP version in PHPStorm?
Php
Ide
Phpstorm
REST API - why use PUT DELETE POST GET?
Php
Json
Soap
Rest
How does the keyword "use" work in PHP and can I import classes with it?
Php
Import
Include
How to do this in Laravel, subquery where in
Php
Mysql
Laravel
Eloquent
Subquery
PHP | define() vs. const
Php
Variables
Constants
Psr 1
Psr 12
Create a folder if it doesn't already exist
Php
Wordpress
Directory
Finding the number of days between two dates
Php
Datetime
How do I strip all spaces out of a string in PHP?
Php
String
Spaces
How to validate array in Laravel?
Php
Laravel
Laravel 5
Do AJAX requests retain PHP Session info?
Php
Ajax
Session
PHP script to loop through all of the files in a directory?
Php
File
Traits in PHP – any real world examples/best practices?
Php
Traits
Proper URL forming with a query string and an anchor hashtag
Php
Wordpress
Url
Standards
Url Fragment
Skip composer PHP requirement
Php
Composer Php
Versioning
How to delete an array element based on key?
Php
Arrays
Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?
Php
Apache
Https
Openssl
Xampp
Calling a function from a string in C#
C#
.Net
Php
String
Function Calls
PHP json_encode encoding numbers as strings
Php
Javascript
Json
The 3 different equals
Php
Comparison
Operators
How can I find where I will be redirected using cURL in PHP?
Php
Redirect
Curl
Can I store images in MySQL
Php
Mysql
Image
Can I use a hash sign (#) for commenting in PHP?
Php
Comments
PHP Get name of current directory
Php
Add ... if string is too long PHP
Php
String
Strlen
How to solve PHP error 'Notice: Array to string conversion in...'
Php
Html
Arrays
Checking if array is multidimensional or not?
Php
Arrays
Loops
Multidimensional Array
Element
How can I get PHPUnit MockObjects to return different values based on a parameter?
Php
Unit Testing
Mocking
Phpunit
Pretty-Printing JSON with PHP
Php
Json
Pretty Print
Are PDO prepared statements sufficient to prevent SQL injection?
Php
Security
Pdo
Sql Injection
Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted (CodeIgniter + XML-RPC)
Php
Codeigniter
Memory
Xml Rpc
Memory Limit
Explode string by one or more spaces or tabs
Php
Regex
Explode
@ character before a function call
Php
Removing X-Powered-By
Php
Http Headers
PHP Regex to get youtube video ID?
Php
Regex
What is an .inc and why use it?
Php
PHP session lost after redirect
Php
Session
Redirect
Session Cookies
Shared Hosting
Performance of foreach, array_map with lambda and array_map with static function
Php
Performance
Foreach
Lambda
Array Map
Handle Guzzle exception and get HTTP body
Php
Guzzle
PHP: Type hinting - Difference between `Closure` and `Callable`
Php
Run PHP Task Asynchronously
Php
Asynchronous
Background
Queue
Task
How to enable cURL in PHP / XAMPP
Php
Curl
Xampp
How to delete object from array inside foreach loop?
Php
Foreach
Unset
Arrays
Find substring in the string in TWIG
Php
Twig
Substring
Comparison Operators
Redirect all to index.php using htaccess
Php
.Htaccess
Mod Rewrite
Trying to get Laravel 5 email to work
Php
Laravel
Laravel 5
Email
Null vs. False vs. 0 in PHP
Php
Null
How Drupal works?
Php
Drupal
Drupal 7
How do I get the base URL with PHP?
Php
Wrong syntax highlighting for PHP file in PHPStorm
Php
Ide
Phpstorm
How to minify php page html output?
Php
Html
Minify
Any way to break if statement in PHP?
Php
is_null($x) vs $x === null in PHP
Php
Isnull
Sending email with PHP from an SMTP server
Php
Email
Smtp
HTTP authentication logout via PHP
Php
Authentication
.Htaccess
Http Headers
Password Protection
Can I get CONST's defined on a PHP class?
Php
Constants
Class Constants
How to get ID of the last updated row in MySQL?
Php
Mysql
CodeIgniter activerecord, retrieve last insert id?
Php
Codeigniter
PHP page redirect
Php
Redirect
Header
Replacing Spaces with Underscores
Php
Remove all non-numeric characters from a string; [^0-9] doesn't match as expected
Php
Regex
String
Phone Number
Sanitization
How to call function of one php file from another php file and pass parameters to it?
Php
How to convert array values to lowercase in PHP?
Php
Arrays
String
Lowercase
Formatting a number with leading zeros in PHP
Php
Numbers
Format
Show a number to two decimal places
Php
Formatting
Numbers
Rounding
Number Formatting
Chrome net::ERR_INCOMPLETE_CHUNKED_ENCODING error
Php
Apache
Google Chrome
Chunked Encoding
Chunked
Checking to see if one array's elements are in another array in PHP
Php
Arrays
How do I recursively delete a directory and its entire contents (files + sub dirs) in PHP?
Php
Recursion
Delete Directory
PHP "pretty print" json_encode
Php
Json
Encode
How to check if mod_rewrite is enabled in php?
Php
Apache
Mod Rewrite
Iis
Convert PHP closing tag into comment
Php
Regex
Tags
Comments
What's the net::ERR_HTTP2_PROTOCOL_ERROR about?
Php
Wordpress
Google Chrome
Curl
Http2
Get name of caller function in PHP?
Php
Iterate over each line in a string in PHP
Php
String
How to replace "if" statement with a ternary operator ( ? : )?
Php
Conditional Operator
Is PHP compiled or interpreted?
Php
In PHP with PDO, how to check the final SQL parametrized query?
Php
Mysql
Pdo
Sql Parametrized-Query
How to remove extension from string (only real extension!)
Php
Remove non-numeric characters (excluding periods and commas) from a string (i.e. remove all characters except numbers, commas, and periods)
Php
How to convert JSON string to array
Php
Arrays
Json
Where is the php.ini file on a Linux/CentOS PC?
Php
Linux
Centos
Best XML Parser for PHP
Php
Xml
Parsing
Xml Parsing
How can I get the MAC and the IP address of a connected client in PHP?
Php
Mac Address
What is the best way to loop through this array in PHP?
Php
Arrays
Printing
Loops
PHP - iterate on string characters
Php
String
Character Arrays
Best way to give a variable a default value (simulate Perl ||, ||= )
Php
Perl
Operators
Default Value
Populating a database in a Laravel migration file
Php
Laravel
Migration
Mysql Error-1146
URL rewriting with PHP
Php
.Htaccess
Url
Mod Rewrite
Url Rewriting
Laravel Schema onDelete set null
Php
Laravel
Laravel Migrations
What is the purpose of the html form tag
Javascript
Php
Jquery
Html
Forms
Returning JSON from PHP to JavaScript?
Php
Javascript
Json
RAW POST using cURL in PHP
Php
Post
Curl
Put
PHP Session Fixation / Hijacking
Php
Security
Session
Session Cookies
Creating anonymous objects in php
Php
Oop
Object
How to benchmark efficiency of PHP script
Php
Performance
Benchmarking
Microtime
Convert a PHP script into a stand-alone windows executable
Php
Obfuscation
Deleting an element from an array in PHP
Php
Arrays
Unset
How can I prevent SQL injection in PHP?
Php
Mysql
Sql
Security
Sql Injection
How do I get a YouTube video thumbnail from the YouTube API?
Php
Curl
Youtube
Youtube Api
Youtube Data-Api
How do I check if a string contains a specific word?
Php
String
Substring
Contains
String Matching
Why shouldn't I use mysql_* functions in PHP?
Php
Mysql
Laravel 5 – Clear Cache in Shared Hosting Server
Php
Laravel
Laravel 5
Command Line-Interface
Laravel is there a way to add values to a request array
Php
Laravel
How to get random value out of an array?
Php
Arrays
Random
Remove excess whitespace from within a string
Php
String
Generating a drop down list of timezones with PHP
Php
Timezone
Utc
MySQL integer field is returned as string in PHP
Php
Mysql
Types
Int
Gettype
Lost connection to MySQL server at 'reading initial communication packet', system error: 0
Php
Mysql
How can I convert ereg expressions to preg in PHP?
Php
Preg Replace
Preg Match
Pcre
Ereg
How to get an array of specific "key" in multidimensional array without looping
Php
Using $_POST to get select option value from HTML
Php
Html
Arrays
Getting raw SQL query string from PDO prepared statements
Php
Sql
Mysql
Pdo
Pdostatement
Zero-pad digits in string
Php
Is it possible to create static classes in PHP (like in C#)?
Php
Design Patterns
Oop
Static
Get characters after last / in url
Php
String
Returning first x items from array
Php
Arrays
How to write into a file in PHP?
Php
File
How do you remove an array element in a foreach loop?
Php
Arrays
Loops
Foreach
Do you need break in switch when return is used?
Php
How to access class constants in Twig?
Php
Templates
Twig
"Mixed content blocked" when running an HTTP AJAX operation in an HTTPS page
Javascript
Php
Jquery
Html
Ajax
Laravel - Session store not set on request
Php
Laravel
Session
Session Cookies
What are differences between PECL and PEAR?
Php
Pear
Pecl
What exactly are late static bindings in PHP?
Php
Late Binding
Late Static-Binding
PHP case-insensitive in_array function
Php
Arrays
How to debug PDO database queries?
Php
Sql
Pdo
How to use WHERE IN with Doctrine 2
Php
Doctrine Orm
Query Builder
How to print a debug log?
Php
Debugging
Logging
A non well formed numeric value encountered
Php
Validation
Date
Time
Using PHP with Socket.io
Php
socket.io
Get Root Directory Path of a PHP project
Php
How to make a PHP SOAP call using the SoapClient class
Php
Soap
PHP MySQL Google Chart JSON - Complete Example
Php
Mysql
Json
Charts
Google Visualization
How to prevent Browser cache for php site
Php
Http Headers
Browser Cache
Cache Control
How to deal with mysqli problems? mysqli_fetch_array(): Argument #1 must be of type mysqli_result
Php
Mysqli
Error Reporting
How to Make Laravel Eloquent "IN" Query?
Php
Laravel
Orm
Eloquent
Why is require_once so bad to use?
Php
Performance
Require Once
string sanitizer for filename
Php
String
Sanitization
PHP json_decode() returns NULL with valid JSON?
Php
Json
Null
What is an abstract class in PHP?
Php
Oop
Abstract Class
Pass a PHP array to a JavaScript function
Php
Javascript
Solution for "Fatal error: Maximum function nesting level of '100' reached, aborting!" in PHP
Recursion
Xdebug
Php
How to know which version of Symfony I have?
Php
Symfony
Laravel 5.2 not reading env file
Php
Laravel
Environment Variables
Laravel 5.2
Cannot create cache directory .. or directory is not writable. Proceeding without cache in Laravel
Php
Laravel
Composer Php
Performance of FOR vs FOREACH in PHP
Php
Arrays
Performance
Foreach
For Loop
Laravel Eloquent Sum of relation's column
Php
Laravel
Eloquent
Relation
laravel 5.3 new Auth::routes()
Php
Laravel
Laravel 5
Laravel 5.3
Highlight the difference between two strings in PHP
Php
String
Diff
Word Diff
Memcache Vs. Memcached
Php
Memcached
Uppercase Booleans vs. Lowercase in PHP
Php
Language History
How can I compare two dates in PHP?
Php
Date
Compare
How to force file download with PHP
Php
File
Download
How to set default value for form field in Symfony2?
Php
Symfony
PHP CURL CURLOPT_SSL_VERIFYPEER ignored
Php
Ssl
Curl
Https
PDO closing connection
Php
Pdo
Laravel 5 - redirect to HTTPS
Php
Laravel
Laravel Routing
Laravel 5
Retrieve Laravel Model results based on multiple ID's
Php
Laravel
Eloquent
Zend Search-Lucene
Relevance
How can I force users to access my page over HTTPS instead of HTTP?
Php
Apache
Ssl
Https
PHP String to Float
Php
String
Casting
Floating Point
PHP function comments
Php
Function
Comments
Format
Phpdoc
Check to see if a string is serialized?
Php
Serialization
How to generate .json file with PHP?
Php
Json
How do I deep copy a DateTime object?
Php
Datetime
Turn off deprecated errors in PHP 5.3
Php
Wordpress
Deprecation Warning
Cannot use object of type stdClass as array?
Php
Json
How to check if a string starts with a specified string?
Php
How can I capture the result of var_dump to a string?
Php
String
Var Dump
PHP abstract properties
Php
Oop
Abstract Class
How do I pass parameters into a PHP script through a webpage?
Php
Parameters
composer: How to find the exact version of a package?
Php
Dependency Management
Package Managers
Composer Php
How to get the current taxonomy term ID (not the slug) in WordPress?
Php
Wordpress
Taxonomy
User recognition without cookies or local storage
Javascript
Php
Http Headers
Fingerprinting
Prevent nginx 504 Gateway timeout using PHP set_time_limit()
Php
Nginx
Fastcgi
How can I add additional PHP versions to MAMP
Php
Macos
Mamp
PHP is not recognized as an internal or external command in command prompt
Php
Cmd
Exe
how to detect search engine bots with php?
Php
Web Crawler
Bots
In PHP, can you instantiate an object and call a method on the same line?
Php
Oop
Why is Magento so slow?
Php
Magento
Optimization
How do I turn off PHP Notices?
Php
Error Handling
Constants
How to use CURL via a proxy?
Php
Curl
Proxy
Php Curl
php implode (101) with quotes
Php
Arrays
String
Csv
Implode
How to re-index all subarray elements of a multidimensional array?
Php
Multidimensional Array
Reindex
Getting a timestamp for today at midnight?
Php
Time
Timestamp
How to pop an alert message box using PHP?
Javascript
Php
Messagebox
Send POST data via raw JSON with Postman
Php
Json
Rest
Postman
php mysqli_connect: authentication method unknown to the client [caching_sha2_password]
Php
Mysql
Hash
Sha
Why won't my PHP app send a 404 error?
Php
Header
Http Status-Code-404
How do PHP sessions work? (not "how are they used?")
Php
Session
Sanitizing strings to make them URL and filename safe?
Php
Url
Filenames
Sanitization
Is there a use-case for singletons with database access in PHP?
Php
Oop
Design Patterns
Singleton
Parsing a string into a boolean value in PHP
Php
Parsing
Boolean
phpunit mock method multiple calls with different arguments
Php
Mocking
Phpunit
twig: IF with multiple conditions
Php
Twig
Conditional Operator
How to set selected value of jQuery Select2?
Javascript
Php
Jquery
Ajax
Jquery Select2
How to pass data to all views in Laravel 5?
Php
Laravel
Laravel 5
What is the difference between find(), findOrFail(), first(), firstOrFail(), get(), list(), toArray()
Php
Laravel
Laravel 5
Robust and Mature HTML Parser for PHP
Php
Html
Html Parsing
Can HTML be embedded inside PHP "if" statement?
Php
Html
PHP: Count a stdClass object
Php
Count
Stdclass
How to create an error 404 page using PHP?
Php
Redirect
Http Status-Code-404
What does it mean to start a PHP function with an ampersand?
Php
Oop
Multiple file upload in php
Php
File Upload
PHP filesize MB/KB conversion
Php
File
Filesize
Preferred method to store PHP arrays (json_encode vs serialize)
Php
Performance
Arrays
Json
Serialization
How can I break an outer loop with PHP?
Php
For Loop
Nested Loops
Break
How to create an array for JSON using PHP?
Php
Json
How to disable XDebug
Php
Xdebug
Apc
deny direct access to a folder and file by htaccess
Php
Regex
Apache
.Htaccess
Mod Rewrite
PHP variables in anonymous functions
Php
Function
Variables
Global Variables
Anonymous
Can't install laravel installer via composer
Php
Laravel
Ubuntu
Laravel 5
Array and string offset access syntax with curly braces is deprecated
Php
Php 7.4
Best way to parse RSS/Atom feeds with PHP
Php
Parsing
Rss
Atom Feed
how to get the cookies from a php curl into a variable
Php
Cookies
Curl
Getting DOM elements by classname
Php
Css
Dom
PHP: Check if an array contains all array values from another array
Php
Arrays
Get current URL path with query string in PHP
Php
Url
Getting date format m-d-Y H:i:s.u from milliseconds
Php
Date
Timestamp
Milliseconds
Running a Python script from PHP
Php
Python
Linux
Exec
Archlinux
413 Request Entity Too Large - File Upload Issue
Php
Nginx
Apache2
How do I install Composer PHP packages without Composer?
Php
Composer Php
Mechanisms for tracking DB schema changes
Php
Mysql
Database
Svn
Migration
How can I get the current page's full URL on a Windows/IIS server?
Php
Iis
What is the Java equivalent of PHP var_dump?
Java
Php
Accessing @attribute from SimpleXML
Php
Xml
Simplexml
PHP file_get_contents() and setting request headers
Php
Http Headers
How does this giant regex work?
Php
Regex
Security
Cryptography
curl_exec() always returns false
Php
Curl
WAMP/XAMPP is responding very slow over localhost
Php
Apache
Xampp
Localhost
Wamp
Convert stdClass object to array in PHP
Php
Arrays
$_POST vs. $_SERVER['REQUEST_METHOD'] == 'POST'
Php
What's the maximum value for an int in PHP?
Php
Integer
Get first day of week in PHP?
Php
Datetime
What does $$ (dollar dollar or double dollar) mean in PHP?
Php
What is function overloading and overriding in php?
Php
Overloading
Overriding
In PHP what does it mean by a function being binary-safe?
Php
RESTful API methods; HEAD & OPTIONS
Php
Http
Rest
What is normalized UTF-8 all about?
Php
C
Unicode
Unicode Normalization
How can I get useful error messages in PHP?
Php
Debugging
Error Handling
get UTC time in PHP
Php
Datetime
Utc
Store print_r result into a variable as a string or text
Php
Regex exactly n OR m times
Java
Php
Regex
Composer Warning: openssl extension is missing. How to enable in WAMP
Php
Wampserver
Composer Php
Composer update memory limit
Php
Laravel
Ssh
Composer Php
Does PHP have threading?
Php
Multithreading
Apache
Command Line-Interface
How to make PDF file downloadable in HTML link?
Php
Pdf
Xhtml
Download
Markup
How to check if an email address exists without sending an email?
Php
Email
Smtp
Telnet
Email Validation
How can I echo HTML in PHP?
Php
Html
Templates
Echo
SHA1 vs md5 vs SHA256: which to use for a PHP login?
Php
Login
Md5
Sha1
Sha256
After array_filter(), how can I reset the keys to go in numerical order starting at 0
Php
Arrays
Filter
Reindex
Alternative for PHP_excel
Php
Phpexcel
PDO's query vs execute
Php
Pdo
Checking if form has been submitted - PHP
Php
Forms
Validation
How to get a one-dimensional scalar array as a doctrine dql query result?
Php
Doctrine Orm
Composer require local package
Php
Composer Php
PHP code to convert a MySQL query to CSV
Php
Mysql
Csv
How to insert multiple rows from array using CodeIgniter framework?
Php
Mysql
Codeigniter
Insert
Bulkinsert
How to create an array from a CSV file using PHP and the fgetcsv function
Php
Arrays
Csv
How to convert PascalCase to snake_case?
Php
String
Pascalcasing
Snakecasing
Print newline in PHP in single quotes
Php
String
PHP Sort a multidimensional array by element containing Y-m-d H:i:s date
Php
Datetime
Arrays
Sorting
PHP PDO returning single row
Php
Pdo
Why, Fatal error: Class 'PHPUnit_Framework_TestCase' not found in ...?
Php
Fatal Error
Classnotfoundexception
Read each line of txt file to new array element
Php
Arrays
Text Files
Fgets
in_array multiple values
Php
Arrays
How to check what user php is running as?
Php
Apache
Setting element of array from Twig
Php
Twig
How to log in to phpMyAdmin with WAMP, what is the username and password?
Php
Mysql
Windows
Phpmyadmin
Passwords
PHP GuzzleHttp. How to make a post request with params?
Php
Request
Httpclient
Guzzle
Laravel PackageManifest.php: Undefined index: name
Php
Laravel
PHP: exceptions vs errors?
Php
Exception
Exception Handling
Error Handling
Coalesce function for PHP?
Php
Optimization
Null Coalescing-Operator
How to sum all column values in multi-dimensional array?
Php
Arrays
Multidimensional Array
Sum
PHP best way to MD5 multi-dimensional array?
Php
Arrays
Multidimensional Array
Hash
Md5
Add number of days to a date
Php
Date
What is causing "Unable to allocate memory for pool" in PHP?
Php
Caching
Memory
Apc
Back to previous page with header( "Location: " ); in PHP
Php
Redirect
Back
Using usort in php with a class private function
Php
Arrays
Sorting
Object
PHP expects T_PAAMAYIM_NEKUDOTAYIM?
Php
Runtime Error
Syntax Error
Error Code
What is the use of the @ symbol in PHP?
Php
Operators
Error Suppression
Multiple inputs with same name through POST in php
Php
Html
Arrays
Forms
Post
How to use php serialize() and unserialize()
Php
PHP validation/regex for URL
Php
Regex
Url
Validation
How do I add 24 hours to a unix timestamp in php?
Php
Timestamp
Is there any difference between __DIR__ and dirname(__FILE__) in PHP?
Php
PHP passing $_GET in the Linux command prompt
Php
Linux
Increasing nesting function calls limit
Php
Xdebug
Difference between var_dump,var_export & print_r
Php
how to check and set max_allowed_packet mysql variable
Php
Mysql
"Connection for controluser as defined in your configuration failed" with phpMyAdmin in XAMPP
Php
Phpmyadmin
Xampp
Order by multiple columns with Doctrine
Php
Doctrine
Sql Order-By
Laravel blank white screen
Php
Apache
Frameworks
Laravel
Laravel 4
Default visibility of class methods in PHP
Php
Oop
Visibility
What does "zend_mm_heap corrupted" mean
Php
Fedora
Heap Corruption
Php Internals
What is the HMVC pattern?
Php
Kohana
Hmvc
file_get_contents("php://input") or $HTTP_RAW_POST_DATA, which one is better to get the body of JSON request?
Php
Json
Xmlhttprequest
cleanest way to skip a foreach if array is empty
Php
Coding Style
What is the difference between fastcgi and fpm?
Php
Php 7
Fastcgi
Php 7.4
Mod Fastcgi
Using a .php file to generate a MySQL dump
Php
Mysql
Mysqldump
Str_replace for multiple items
Php
String
Str Replace
How to transform array to comma separated words string?
Php
Arrays
String
PHP namespaces and "use"
Php
Namespaces
Assign same value to multiple variables at once?
Php
Variables
Variable Assignment
Nested or Inner Class in PHP
Php
Class
Oop
Nested
Inner Classes
Flat file databases
Php
Sql
Database
Flat File
Is there a MySQL command to convert a string to lowercase?
Php
Mysql
is_file or file_exists in PHP
Php
File
Exists
PHP's white screen of death
Php
Error Handling
Error Reporting
Wsod
PHP & mySQL: Year 2038 Bug: What is it? How to solve it?
Php
Mysql
Year2038
Sort array of objects by object fields
Php
Arrays
Sorting
Object
Can I bind an array to an IN() condition in a PDO query?
Php
Arrays
Pdo
Prepared Statement
Where In
How to add elements to an empty array in PHP?
Php
Arrays
Variables
Is there a function to make a copy of a PHP array to another?
Php
Arrays
Copy
PHP array_filter with arguments
Php
Arrays
PHP - add item to beginning of associative array
Php
PHP Multidimensional Array Searching (Find key by specific value)
Php
Search
Multidimensional Array
Key
Modify array values in foreach loop
Php
Arrays
Object
Foreach
Laravel : Syntax error or access violation: 1055 Error
Php
Laravel
Laravel 5
Qsqlquery
Can you 'exit' a loop in PHP?
Php
Loops
What's the most efficient test of whether a PHP string ends with another string?
Php
String
Performance
Naming cookies - best practices
Php
Cookies
Naming Conventions
PHP Sort Array By SubArray Value
Php
Arrays
Sorting
Difference between float and double in php?
Php
How to identify server IP address in PHP
Php
Ip
PHP date yesterday
Php
Date
Array_merge versus +
Php
Arrays
Array Merge
How to destroy an object?
Php
Object
Destructor
Destroy
"Cannot send session cache limiter - headers already sent"
Php
Session
PDO MySQL: Use PDO::ATTR_EMULATE_PREPARES or not?
Php
Mysql
Pdo
json_encode PHP array as JSON array not JSON object
Php
Json
Use PHP composer to clone git repo
Php
Composer Php
Packagist
jQuery UI Sortable, then write order into a database
Php
Jquery
Mysql
Jquery Ui
Jquery Ui-Sortable
SimpleTest vs PHPunit
Php
Unit Testing
Phpunit
Simpletest
Fastest way to implode an associative array with keys
Php
Arrays
Query String
Associative Array
Implode
Which is faster in PHP, $array[] = $value or array_push($array, $value)?
Php
Arrays
Performance
Remove non-utf8 characters from string
Php
Regex
What is the difference between MySQL, MySQLi and PDO?
Php
Mysql
Pdo
Mysqli
What is the "->" PHP operator called?
Php
Operators
Terminology
How to store values from foreach loop into an array?
Php
Foreach
What's the difference between array_merge and array + array?
Php
Arrays
Merge
Addition
PHP DOMDocument errors/warnings on html5-tags
Php
Html
Domdocument
Why does PHP consider 0 to be equal to a string?
Php
String
Numbers
Evaluate
PHP Error handling: die() Vs trigger_error() Vs throw Exception
Error Handling
Php
How to implode array with key and value without foreach in PHP
Php
Arrays
String
Implode
PHP Array to CSV
Php
Csv
continue processing php after sending http response
Php
Http
Response
How to tell phpunit to stop on failure
Php
Unit Testing
Phpunit
How to use PHP's password_hash to hash and verify passwords
Php
Salt
Password Hash
Php Password-Hash
Property [title] does not exist on this collection instance
Php
Laravel
Eloquent
Properties
How to find the foreach index?
Php
Loops
Foreach
Post request in Laravel - Error - 419 Sorry, your session/ 419 your page has expired
Php
Laravel
Csrf
How to use the CSV MIME-type?
Php
Csv
Http Headers
Mime
Get value of dynamically chosen class constant in PHP
Php
Class Constants
Reset PHP Array Index
Php
Arrays
How to force composer to reinstall a library?
Php
Zend Framework2
Composer Php
Warning about `$HTTP_RAW_POST_DATA` being deprecated
Php
Configuration
Migration
How to detect duplicate values in PHP array?
Php
Arrays
MySQL check if a table exists without throwing an exception
Php
Mysql
Pdo
Database
PHP ORMs: Doctrine vs. Propel
Php
Orm
Symfony1
Doctrine
Propel
How to create a JSON object
Php
Json
PHP regular expressions: No ending delimiter '^' found in
Php
Regex
Preg Match
Pcre
Show a PDF files in users browser via PHP/Perl
Php
Pdf
Cgi
How to saveHTML of DOMDocument without HTML wrapper?
Php
Serialization
Domdocument
Best practice: PHP Magic Methods __set and __get
Php
Magic Methods
How can I have Github on my own server?
Php
Git
Github
Compile error: "g++: error trying to exec 'cc1plus': execvp: No such file or directory"
Php
C++
C
Linux
Gcc
How to get the root dir of the Symfony2 application?
Php
Symfony
Symfony 2.8
Symfony Config-Component
Python equivalent for PHP's implode?
Php
Python
Implode
Count how many files in directory PHP
Php
File
Count
Directory
How to post pictures to instagram using API
Php
Instagram Api
Stop caching for PHP 5.5.3 in MAMP
Php
Caching
Mamp
Php 5.5
Get data from JSON file with PHP
Php
Json
What is ::class in PHP?
Php
Class
Laravel
Tell Composer to use Different PHP Version
Php
Linux
Laravel
Composer Php
How can I easily switch between PHP versions on Mac OSX?
Php
Macos
Eloquent get only one column as an array
Php
Laravel
Eloquent
PHP7.1 json_encode() Float Issue
Php
Json
Precision
Php 7.1
PHP Session Security
Security
Php
Create subdomains on the fly with .htaccess (PHP)
Php
.Htaccess
Dns
Virtualhost
Subdomain
How can I measure the speed of code written in PHP?
Php
Testing
Performance
Measurement
Maximum execution time in phpMyadmin
Php
Mysql
Database
Xampp
Execution Time
How do I create a comma-separated list from an array in PHP?
Php
Arrays
How can I check if the current date/time is past a set date/time?
Php
Date
Datetime
What is for Python what 'explode' is for PHP?
Php
Python
String
PHP Function with Optional Parameters
Php
Function
Parameter Passing
How to disable manual input for JQuery UI Datepicker field?
Php
Jquery Ui
Datepicker
PHP, cURL, and HTTP POST example?
Php
Http
Curl
Http Post
phpmyadmin - count(): Parameter must be an array or an object that implements Countable
Php
Phpmyadmin
Countable
htmlentities() vs. htmlspecialchars()
Php
How to check whether mod_rewrite is enable on server?
Php
.Htaccess
Mod Rewrite
Url Rewriting
Lightspeed
Apache shows PHP code instead of executing it
Php
Apache
How to get current PHP page name
Php
You must enable the openssl extension to download files via https
Php
Ssl
Openssl
Zend Framework2
Composer Php
Laravel where on relationship object
Php
Laravel
Eloquent
Relationship
Where Clause
How can I get stock quotes using Google Finance API?
Java
Php
Javascript
Google Api
Google Finance
How do I remove a comma off the end of a string?
Php
Download multiple files as a zip-file using php
Php
Zip
Passing arrays as url parameter
Php
Arrays
Url
CodeIgniter: How to get Controller, Action, URL information
Php
Codeigniter
Codeigniter 2
How to apply bindValue method in LIMIT clause?
Php
Mysql
Sql
Pdo
Bindvalue
Finding the PHP File (at run time) where a Class was Defined
Php
Reflection
Class
How to check if an array value exists?
Php
Arrays
How to validate an Email in PHP?
Php
Regex
Validation
Email Validation
Check if URL has certain string with PHP
Php
String
Url
Doctrine and composite unique keys
Php
Mysql
Doctrine Orm
PHP - Merging two arrays into one array (also Remove Duplicates)
Php
Arrays
Wordpress
Multidimensional Array
MySQL - This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery
Php
Mysql
How to correctly require a specific commit in Composer so that it would be available for dependent packages?
Php
Github
Composer Php
Php artisan make:auth command is not defined
Php
Laravel
Command
How to get WooCommerce order details
Php
Wordpress
Woocommerce
Properties
Orders
change the date format in laravel view page
Php
Laravel
Date
How do I access this object property with an illegal name?
Php
Object
PHP prepend associative array with literal keys?
Php
Arrays
Associative Array
Accept function as parameter in PHP
Php
Function
Writing a new line to file in PHP (line feed)
Php
Newline
Fopen
Fwrite
Linefeed
New Line on PHP CLI
Php
How to retrieve Request Payload
Php
Javascript
Json
Extjs
Which mime type should I use for mp3
Php
Mp3
Mime Types
Setting environment variables for accessing in PHP when using Apache
Php
Apache
Ubuntu
Environment Variables
Exclude folder from search but not from the project list
Php
Phpstorm
Webstorm
dyld: Library not loaded: /usr/local/lib/libpng16.16.dylib with anything php related
Php
Osx Mavericks
Libpng
Dyld
Insert new item in array on any position in PHP
Php
Arrays
Insert
How do I catch a PHP fatal (`E_ERROR`) error?
Php
Fatal Error
Converting an integer to a string in PHP
Php
String
Casting
Type Conversion
Integer
Laravel 5 - env() always returns null
Php
Laravel
Environment Variables
Phpdotenv
Why does PHP 5.2+ disallow abstract static class methods?
Php
Oop
Static
Abstract
How to [recursively] Zip a directory in PHP?
Php
Directory
Zip
Directory Structure
Recursion
How to pass variable number of arguments to a PHP function
Php
Variadic Functions
Calculate number of hours between 2 dates in PHP
Php
Datetime
Convert SVG image to PNG with PHP
Php
Svg
Imagemagick
Jpeg
Gd2
Loop code for each file in a directory
Php
Image
Filesystems
Directory
Best way to store JSON in an HTML attribute?
Javascript
Php
Html
Json
Call to undefined method mysqli_stmt::get_result
Php
Mysqli
How do I get class name in PHP?
Php
How to remove globally a package from Composer?
Php
Composer Php
Command Line-Interface
Why would json_encode return an empty string
Php
Json
laravel 5 : Class 'input' not found
Php
Laravel
Laravel 5
Laravel 5.1
Laravel 5.2
How do I create a PDO parameterized query with a LIKE statement?
Php
Pdo
Find out HTTP method in PHP
Php
Http
index.php not loading by default
Php
Apache
Centos
Apache Config
What does new self(); mean in PHP?
Php
Class
Self
increment date by one month
Php
Date
A numeric string as array key in PHP
Php
Error message Strict standards: Non-static method should not be called statically in php
Php
Static Members
How to print SQL statement in codeigniter model
Php
Sql
Codeigniter
`static` keyword inside function?
Php
Function
Static
Keyword
PHP Regex to check date is in YYYY-MM-DD format
Php
Regex
Date Format
Dropping column with foreign key Laravel error: General error: 1025 Error on rename
Php
Laravel
Laravel 4
Database Migration
How to correctly link php-fpm and Nginx Docker containers?
Php
Nginx
Docker
Dockerfile
Docker Compose
What does the variable $this mean in PHP?
Php
Class
Oop
This
SET NAMES utf8 in MySQL?
Php
Mysql
Utf 8
json_encode/json_decode - returns stdClass instead of Array in PHP
Php
Json
How do you parse and process HTML/XML in PHP?
Php
Html
Xml
Xml Parsing
Html Parsing
How does PHP 'foreach' actually work?
Php
Loops
Foreach
Iteration
Php Internals
PHP How to determine the first and last iteration in a foreach loop?
Php
Loops
Foreach
Change the maximum upload file size
Php
How to check whether an array is empty using PHP?
Php
Arrays
How should a model be structured in MVC?
Php
Oop
Model View-Controller
Architecture
Model
How do I convert datetime to ISO 8601 in PHP
Php
Datetime
Date Format
Datetime Format
Time Format
Auto increment in phpmyadmin
Php
Phpmyadmin
Using CSS in Laravel views?
Php
Frameworks
Laravel
Laravel Eloquent ORM Transactions
Php
Laravel
PHPExcel auto size column width
Php
Resize
Size
Phpexcel
How to run a cronjob every X minutes?
Php
Cron
Cron Task
How to use class methods as callbacks
Php
Oop
Callback
Laravel - check if Ajax request
Php
Laravel
SilverStripe PHP Forms - If I nest a SelectionGroup inside a FieldGroup, one of the related SelectionGroup_Items' Radio Box does not show up. Why?
Php
Forms
Silverstripe
json_encode is returning NULL?
Php
Null
Json
using jquery $.ajax to call a PHP function
Php
Jquery
Ajax
How do I resolve a HTTP 414 "Request URI too long" error?
Php
Apache
Http Status-Codes
Remove Trailing Slash From String PHP
Php
String
Use PHP to create, edit and delete crontab jobs?
Php
Crontab
Logical Operators, || or OR?
Php
Operators
Logical Operators
Or Operator
How to compare two dates in php
Php
Difference between array_push() and $array[] =
Php
Arrays
Push
Warning "Do not Access Superglobal $_POST Array Directly" on Netbeans 7.4 for PHP
Php
Netbeans
Superglobals
Netbeans 7.4
How to create a laravel hashed password
Php
Security
Laravel
Hash
Passwords
How to Merge Two Eloquent Collections?
Php
Laravel
Eloquent
Laravel Collection
In where shall I use isset() and !empty()
Php
Isset
What's wrong with using $_REQUEST[]?
Php
Methods
Form Submit
How to find out where a function is defined?
Php
PHP DateTime::modify adding and subtracting months
Php
Datetime
Date
How to increase the execution timeout in php?
Php
Redirecting from HTTP to HTTPS with PHP
Php
Https
PHP function to get the subdomain of a URL
Php
Subdomain
Are PHP include paths relative to the file or the calling code?
Php
Include
Relative Path
How to set password for Redis?
Php
Redis
How to create custom helper functions in Laravel
Php
Laravel
Laravel Helper
PHP equivalent of .NET/Java's toString()
Php
String
New self vs. new static
Php
Static
Late Static-Binding
Type-juggling and (strict) greater/lesser-than comparisons in PHP
Php
If Statement
Comparison
Logic
Ieee 754
How to enable PHP's openssl extension to install Composer?
Php
Composer Php
Php Openssl
mcrypt is deprecated, what is the alternative?
Php
Encryption
Passwords
Php 7
Mcrypt
"The page has expired due to inactivity" - Laravel 5.5
Php
Laravel
Csrf
Laravel 5.5
How do I include a file over 2 directories back?
Php
Include
Filesystems
How can I create an array with key value pairs?
Php
Arrays
MySQL connection not working: 2002 No such file or directory
Php
Mysql
Connection
Calling a function within a Class method?
Php
Function
Class
Methods
Call
Grabbing the href attribute of an A element
Php
Html
Dom
Automatic post-registration user authentication
Php
Symfony
Registration
How to get whole and decimal part of a number?
Php
Math
How to check that an object is empty in PHP?
Php
Object
How to encrypt/decrypt data in php?
Php
Security
Encryption
Cryptography
Encryption Symmetric
PHP cURL vs file_get_contents
Php
Curl
File Get-Contents
How to convert an array into an object using stdClass()
Php
Arrays
Stdclass
How to upload file to server with HTTP POST multipart/form-data?
C#
Php
Post
Windows Phone-8
Multipartform Data
Laravel Carbon subtract days from current date
Php
Laravel
Datetime
Php Carbon
Accessing Laravel .env variables in blade
Php
Laravel
Do htmlspecialchars and mysql_real_escape_string keep my PHP code safe from injection?
Php
Security
Xss
Sql Injection
How to remove "index.php" in codeigniter's path
Php
Mod Rewrite
Codeigniter
Url Rewriting
How to add http:// if it doesn't exist in the URL
Php
Regex
Declaration of Methods should be Compatible with Parent Methods in PHP
Php
Methods
Standards Compliance
How can I access an object property named as a variable in php?
Php
Json
Google Api
"Unknown modifier 'g' in..." when using preg_match in PHP?
Php
Regex
Preg Match
Preg Match-All
Preserve Line Breaks From TextArea
Php
Mysql
Html
Enabling error display in PHP via htaccess only
Php
.Htaccess
Error Handling
Adding minutes to date time in PHP
Php
Date
Time
Regex plus vs star difference?
Php
Regex
Troubleshooting "The use statement with non-compound name ... has no effect"
Php
Namespaces
PHP convert date format dd/mm/yyyy => yyyy-mm-dd
Php
Date
Formatting
Mktime
Creating a config file in PHP
Php
Configuration Files
PHP and MySQL - how to avoid password in source code?
Php
Mysql
Password Protection
Preventing Laravel adding multiple records to a pivot table
Php
Laravel
Laravel 4
Eloquent
What is the difference between HTTP_HOST and SERVER_NAME in PHP?
Php
Apache
Server Variables
How do the PHP equality (== double equals) and identity (=== triple equals) comparison operators differ?
Php
How to install a specific version of package using Composer?
Php
Composer Php
Dependency Management
How to sort an array of associative arrays by value of a given key in PHP?
Php
Arrays
Sorting
Multidimensional Array
How can I rename column in laravel using migration?
Php
Mysql
Database
Laravel
Migration
How to solve "Fatal error: Class 'MySQLi' not found"?
Php
Mysqli
Reference assignment operator in PHP, =&
Php
Operators
Assignment Operator
Why can't I overload constructors in PHP?
Php
Oop
Overloading
Constructor
Check if $_POST exists
Php
Calling closure assigned to object property directly
Php
Object
Properties
Closures
Formatting Phone Numbers in PHP
Php
Phone Number
PHP Warning: PHP Startup: Unable to load dynamic library
Php
Dynamic Library
relative path in require_once doesn't work
Php
Warnings
Fatal Error
Require Once
How to properly add cross-site request forgery (CSRF) token using PHP
Php
Security
Session
Csrf
Select mySQL based only on month and year
Php
Mysql
PHP cURL HTTP CODE return 0
Php
Curl
How to find the date of a day of the week from a date using PHP?
Php
Date
Laravel: Using try...catch with DB::transaction()
Php
Laravel
Transactions
PHP_SELF vs PATH_INFO vs SCRIPT_NAME vs REQUEST_URI
Http
Php
Codeigniter
PHP UML Generator
Php
Uml
Class Diagram
Can a class extend both a class and implement an Interface
Php
Php Parse-Error
php $_POST array empty upon form submission
Php
Arrays
Forms
Post
How can I use PHP to dynamically publish an ical file to be read by Google Calendar?
Php
Calendar
Icalendar
Which one is the best PDF-API for PHP?
Php
Pdf
Pdf Generation
In a PHP project, what patterns exist to store, access and organize helper objects?
Design Patterns
Oop
Php
How to get file_get_contents() to work with HTTPS?
Php
Curl
Https
File Get-Contents
PHP: How to handle <![CDATA[ with SimpleXMLElement?
Php
Xml
Tags
Cdata
Execute raw SQL using Doctrine 2
Php
Sql
Doctrine
curl POST format for CURLOPT_POSTFIELDS
Php
Post
Curl
How to skip tests in PHPunit?
Php
Phpunit
What is the difference between inversedBy and mappedBy?
Php
Doctrine Orm
Passing data to a closure in Laravel 4
Php
Laravel
Laravel 4
How to create websockets server in PHP
Php
Javascript
Websocket
Problems with lib-icu dependency when installing Symfony 2.3.x via Composer
Php
Symfony
Composer Php
Laravel: Auth::user()->id trying to get a property of a non-object
Php
Authentication
Laravel
Laravel 4
Laravel: Get Object From Collection By Attribute
Php
Mysql
Laravel
What is the difference between client-side and server-side programming?
Javascript
Php
Client Side
Server Side
How to Create Multiple Where Clause Query Using Laravel Eloquent?
Php
Laravel
Eloquent
Laravel Query-Builder
How to read a large file line by line?
Php
How to get the last char of a string in PHP?
Php
String
NOW() function in PHP
Php
Datetime
Time
Timestamp
how to test specific test class using phpunit in laravel
Php
Laravel
Phpunit
Laravel 5.2
Laravel 5 show ErrorException file_put_contents failed to open stream: No such file or directory
Php
Windows
Laravel
Laravel 5
Programmatically access currency exchange rates
Php
Currency
Finance
Why are functions and methods in PHP case-insensitive?
Php
Syntax
Case Insensitive
Replacing accented characters php
Php
String
Preg Replace
Non Ascii-Characters
How to properly URL encode a string in PHP?
Php
Urlencode
Function to return only alpha-numeric characters from string?
Php
Regex
PHP mkdir: Permission denied problem
Php
Dynamically generating a QR code with PHP
Php
Qr Code
Twitter API returns error 215, Bad Authentication Data
Php
Api
Twitter
How to add a line break within echo in PHP?
Php
PHP CURL DELETE request
Php
Http
Curl
Request
Overriding class constants vs properties
Php
Oop
Inheritance
Overriding
Constants
Can I mix MySQL APIs in PHP?
Php
Mysql
Pdo
Mysqli
MassAssignmentException in Laravel
Php
Laravel
Composer: file_put_contents(./composer.json): failed to open stream: Permission denied
Php
Linux
Laravel
Composer Php
Sudo
How do I show multiple recaptchas on a single page?
Php
Captcha
Recaptcha
Get original URL referer with PHP?
Php
Http Referer
What is mod_php?
Php
Apache
Calculate total seconds in PHP DateInterval
Php
Datetime
Date
file_put_contents - failed to open stream: Permission denied
Php
File Io
File Permissions
Display an array in a readable/hierarchical format
Php
Sql
How can I implode an array while skipping empty array items?
Php
Implode
Any equivalent to .= for adding to beginning of string in PHP?
Php
How to output (to a log) a multi-level array in a format that is human-readable?
Php
Drupal
Truncate string in Laravel blade templates
Php
Laravel
Laravel Blade
Template Engine
Texttrimming
How to add new column to MYSQL table?
Php
Mysql
Add
Alter
PHP mail function doesn't complete sending of e-mail
Php
Html
Function
Email
Are PHP short tags acceptable to use?
Php
Coding Style
Php Shorttags
Getting a 500 Internal Server Error (require() failed opening required path) on Laravel 5+ Ubuntu 14.04
Php
Apache
.Htaccess
Ubuntu
Mod Rewrite
Authenticating in PHP using LDAP through Active Directory
Php
Authentication
Active Directory
Ldap
Commands out of sync; you can't run this command now
Php
Sql
Mysql
Mysqli
Why I am getting Cannot pass parameter 2 by reference error when I am using bindParam with a constant value?
Php
Mysql
Pdo
Null
Sql Insert
simple explanation PHP OOP vs Procedural?
Php
Oop
Procedural Programming
Procedural
Try/Catch block in PHP not catching Exception
Php
How to decode Unicode escape sequences like "\u00ed" to proper UTF-8 encoded characters?
Php
Unicode
Utf 8
Escaping
Decoding
Windows: XAMPP vs WampServer vs EasyPHP vs alternative
Php
Mysql
Windows
Apache
Wamp
Resize image in PHP
Php
Image Processing
Image Resizing
Image Upload
How do I remove the last comma from a string using PHP?
Php
String
Substr
how to get date of yesterday using php?
Php
Date
How to create and download a csv file from php script?
Php
Export to-Csv
How to create cron job using PHP?
Php
Cron
How to get all rows (soft deleted too) from a table in Laravel?
Php
Laravel
Laravel 4
Eloquent
download file using an ajax request
Javascript
Php
Ajax
File
Download
How can I use break or continue within for loop in Twig template?
Php
Symfony
For Loop
Twig
Break
Disabling xdebug when running composer
Php
Composer Php
Xdebug
Disable rate limiter in Laravel?
Php
Laravel
Can PNG image transparency be preserved when using PHP's GDlib imagecopyresampled?
Php
Png
Transparency
Gd
Alpha
Reading an Excel file in PHP
Php
Import From-Excel
php static function
Php
Class
Static
Member
Is there a pretty print for PHP?
Php
Pretty Print
How to determine the memory footprint (size) of a variable?
Php
Memory
Submitting a multidimensional array via POST with php
Php
Forms
Post
Multidimensional Array
Submit
CodeIgniter - accessing $config variable in view
Php
Codeigniter
Get the index of a certain value in an array in PHP
Php
Arrays
Algorithm to get the excel-like column name of a number
Php
Algorithm
Optimization
isset() and empty() - what to use
Php
Convert seconds into days, hours, minutes and seconds
Php
Date
How to use phpexcel to read data and insert into database?
Php
Phpexcel
PHP Timestamp into DateTime
Php
Date
Datetime
Date Format
Time Format
Convert a date format in PHP
Php
Date
Formatting
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib error running php after installing node with brew on Mac
Php
node.js
Macos
Homebrew
Installing PDO driver on MySQL Linux server
Php
Mysql
Pdo
Phpmyadmin
Installation
Server-sent events and php - what triggers events on the server?
Php
Server Sent-Events
Execute PHP function with onclick
Javascript
Php
Ajax
Onclick
MySQL Database won't start in XAMPP Manager-osx
Php
Mysql
Macos
Xampp
Installing specific laravel version with composer create-project
Php
Laravel
Composer Php
Check if a variable is undefined in PHP
Php
Correct way to set Bearer token with CURL
Php
Http
Curl
Oauth 2.0
Get only specific attributes with from Laravel Collection
Php
Laravel
SHA384 is not supported by your openssl extension, could not verify the phar file integrity
Php
Composer Php
Resumable downloads when using PHP to send the file?
Php
Download
Resume Download
How can I detect if the user is on localhost in PHP?
Php
Localhost
Detection
When does a cookie with expiration time 'At end of session' expire?
Php
Cookies
Pros and Cons of Interface constants
Php
Interface
Constants
PDO support for multiple queries (PDO_MYSQL, PDO_MYSQLND)
Php
Mysql
Pdo
Are there dictionaries in php?
Php
Dictionary
Associative Array
Terminology
"[notice] child pid XXXX exit signal Segmentation fault (11)" in apache error.log
Php
Apache
Cakephp
Error Logging
Best way to create an empty object in JSON with PHP?
Php
Json
$PHP_AUTOCONF errors on mac os x 10.7.3 when trying to install pecl extensions
Php
Macos
Installation
Autoconf
Pecl
If isset $_POST
Php
Isset
Why is the standard session lifetime 24 minutes (1440 seconds)?
Php
Security
Session
dyld: Library not loaded: /usr/local/lib/libjpeg.8.dylib - homebrew php
Php
Homebrew
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
Php
Symfony
Best PHP IDE for Mac? (Preferably free!)
Php
Macos
Getting the name of a child class in the parent class (static context)
Php
Inheritance
Static Methods
Calculate business days
Php
Calendar
Date
How to post JSON to PHP with curl
Php
Rest
Post
What does "=>" mean in PHP?
Php
PHP how to get local IP of system
Php
Ip Address
how to do file upload using jquery serialization
Php
Jquery
Ajax
Serialization
File Upload
Is PHP's count() function O(1) or O(n) for arrays?
Php
Arrays
Performance
Disable text input history
Php
PHP: How to check if image file exists?
Php
Image
File
File Io
MySQL, Concatenate two columns
Php
Mysql
Sql
AngularJS HTTP post to PHP and undefined
Php
Javascript
Angularjs
Is there any way to detect if a database table exists with Laravel
Php
Laravel
Get operating system info
Php
Operating System
User Agent
Lumen: get URL parameter in a Blade view
Php
Laravel
Blade
Lumen
Composer - the requested PHP extension mbstring is missing from your system
Php
Composer Php
Mbstring
PHP - remove all non-numeric characters from a string
Php
String
PHP YAML Parsers
Php
Parsing
Yaml
How would I skip optional arguments in a function call?
Php
Function
Parameters
Default Value
Optional Parameters
$date + 1 year?
Php
Strtotime
What is a Factory Design Pattern in PHP?
Php
Factories
How can I get enum possible values in a MySQL database?
Php
Mysql
How to add a new method to a php object on the fly?
Php
Methods
Real escape string and PDO
Php
Mysql
Pdo
Is there a point to minifying PHP?
Php
Minify
Two arrays in foreach loop
Php
Arrays
Foreach
How can I run a PHP script in the background after a form is submitted?
Php
Scripting
Background
Run a PHP file in a cron job using CPanel
Php
Cron
Cpanel
"Class XXX is not a valid entity or mapped super class" after moving the class in the filesystem
Php
Symfony
Doctrine Orm
Insert current date in datetime format mySQL
Php
Mysql
How to repair a serialized string which has been corrupted by an incorrect byte count length?
Php
Mysql
Serialization
Content Management-System
How to use cURL to get jSON data and decode the data?
Php
Json
Api
Curl
Why is PHP Composer so slow?
Php
Composer Php
Empty field in yaml
Php
Symfony
Yaml
How do I close a connection early?
Php
Jquery
Ajax
Dynamic class method invocation in PHP
Php
How to round up a number to nearest 10?
Php
Rounding
PDO mysql: How to know if insert was successful
Php
Mysql
Database
Pdo
How do I use PHP namespaces with autoload?
Php
Autoload
Differences between Perl and PHP
Php
Perl
Convert a series of parent-child relationships into a hierarchical tree?
Php
Recursion
Tree
Hierarchical Data
Static class initializer in PHP
Php
Class
Static
Constructor
Initializer
Send email with PHPMailer - embed image in body
Php
Html
Image
Email
Phpmailer
PHP Thread Safe and Non-Thread Safe for Windows
Php
Multithreading
POST an array from an HTML form without javascript
Php
Html
Forms
Post
Why does PHP convert a string with the letter E into a number?
Php
String
Type Conversion
String Comparison
How to get Real IP from Visitor?
Php
Ip
How to determine if a string is a valid v4 UUID?
Php
Regex
Uuid
List all the files and folders in a Directory with PHP recursive function
Php
Recursion
PHPUnit - 'No tests executed' when using configuration file
Php
Unit Testing
Phpunit
Why do I have to run "composer dump-autoload" command to make migrations work in laravel?
Php
Laravel
Laravel 5
Difference between dependency injection and dependency inversion
Php
Design Patterns
Dependency Injection
Dependency Inversion
How to downgrade or install a specific version of Composer?
Php
Windows
Composer Php
apc vs eaccelerator vs xcache
Php
Apc
Opcode Cache
Xcache
Eaccelerator
How do I remove accents from characters in a PHP string?
Php
Iconv
How to get innerHTML of DOMNode?
Php
Dom
Innerhtml
Get Image Height and Width as integer values?
Php
Convert string with dashes to camelCase
Php
String
Submit form without page reloading
Javascript
Php
Html
Ajax
Forms
Push item to associative array in PHP
Php
Arrays
How do I immediately execute an anonymous function in PHP?
Php
Javascript
Function
Fastest Way to Serve a File Using PHP
Php
Performance
File Io
X Sendfile
Reconnection of Client when server reboots in WebSocket
Php
Websocket
Phpwebsocket
Looping through all the properties of object php
Php
Saving timestamp in mysql table using php
Php
Mysql
Database
Sql Insert
Are PHP functions case sensitive?
Php
Function
Case Sensitive
Manipulate a url string by adding GET parameters
Php
Url
String
PHP: Can I get the index in an array_map function?
Php
Arrays
Loops
Dictionary
Iteration
Too much data with var_dump in symfony2 doctrine2
Php
Debugging
Doctrine Orm
Symfony 2.1
what is faster: in_array or isset?
Php
Performance
Micro Optimization
Laravel Eloquent: How to get only certain columns from joined tables
Php
Laravel
Eloquent
Can I Install Laravel without using Composer?
Php
Laravel
Composer Php
Yii2 data provider default sorting
Php
Yii
Yii2
Gridview Sorting
Symfony get Asset Name in Assetic output
Php
Symfony
Twig
Assetic
Only on Firefox "Loading failed for the <script> with source"
Javascript
Php
Jquery
Firefox
Yii
How would you access Object properties from within an object method?
Java
Php
Oop
Theory
Determining Referer in PHP
Php
Http Referer
How does "do something OR DIE()" work in PHP?
Php
Mysql
Exception Handling
Conditional
How do I get the HTML code of a web page in PHP?
Php
Html
What's the best way to get the last element of an array without deleting it?
Php
Arrays
Checking for empty arrays: count vs empty
Php
Arrays
Performance
Standards
Semantics
How to do error logging in CodeIgniter (PHP)
Php
Codeigniter
Logging
Error Handling
Generate random 5 characters string
Php
Random
Comment out HTML and PHP together
Php
Html
Page redirect after certain time PHP
Php
Redirect
Using an array as needles in strpos
Php
Arrays
Strpos
Subtract 1 day with PHP
Php
Datetimeoffset
Accessing outside variable using anonymous function as params
Php
Closures
Scope
Path of assets in CSS files in Symfony 2
Php
Css
Symfony
Assetic
Test PHP headers with PHPUnit
Php
Unit Testing
Phpunit
Output Buffering
Convert hex color to RGB values in PHP
Php
Colors
Hex
Rgb
Laravel stylesheets and javascript don't load for non-base routes
Php
Laravel
Blade
Has Facebook sharer.php changed to no longer accept detailed parameters?
Javascript
Php
Facebook
Api
Sharing
When and why I should use session_regenerate_id()?
Php
Session
Session Fixation
Laravel, sync() - how to sync an array and also pass additional pivot fields?
Php
Laravel
Pivot
Eloquent
Sync
Laravel Eloquent update just if changes have been made
Php
Laravel
Eloquent
PHP file_get_contents() returns "failed to open stream: HTTP request failed!"
Php
Api
Query String
File Get-Contents
How do I load a PHP file into a variable?
Php
File
What are .tpl files? PHP, web design
Php
Html
Smarty
In PHP, how to detect the execution is from CLI mode or through browser ?
Php
php convert datetime to UTC
Php
Datetime
Timezone
Utc
Efficiently counting the number of lines of a text file. (200mb+)
Php
File
Memory
Text
Memory Leaks
Checking for an empty field with MySQL
Php
Sql
Mysql
Null
Adding an item to an associative array
Php
Arrays
Associative Array
PHP Remove elements from associative array
Php
Arrays
Find if the installed PHP is threadsafe or nonthreadsafe?
Php
Iis
Thread Safety
Serializing PHP object to JSON
Php
Object
Json
Object Serialization
select count(*) from table of mysql in php
Php
Mysql
Count
'xmlParseEntityRef: no name' warnings while loading xml into a php file
Php
Xml
Simplexml
Fatal error: Maximum execution time of 300 seconds exceeded
Php
Command Line-Interface
Better way to unset multiple array elements
Php
Is APC compatible with PHP 5.4 or PHP 5.5?
Php
Installation
Apc
multiple ways of calling parent method in php
Php
Where does MAMP keep its php.ini?
Macos
Mamp
Php
How to check if multiple array keys exists
Php
Key
Convert an associative array to a simple array of its values in php
Php
Arrays
Associative Array
How to check if a string contains a specific text
Php
Laravel - Return json along with http status code
Php
Json
Laravel
Http Status-Codes
Laravel 5.2 - Use a String as a Custom Primary Key for Eloquent Table becomes 0
Php
Mysql
Laravel
Laravel 5
Eloquent
The openssl extension is required for SSL/TLS protection
Php
Composer Php
Elegant way to search for UTF-8 files with BOM?
Php
Utf 8
Shell
Text Editor
Diagnosing Memory Leaks - Allowed memory size of # bytes exhausted
Php
Memory Leaks
Easiest way to activate PHP and MySQL on Mac OS 10.6 (Snow Leopard), 10.7 (Lion), 10.8 (Mountain Lion)?
Php
Mysql
Macos
Osx Snow-Leopard
Osx Lion
open_basedir restriction in effect. File(/) is not within the allowed path(s):
Php
Filesystems
Date minus 1 year?
Php
Date
How do I upgrade PHP in Mac OS X?
Php
Macos
Macports
php - How do I fix this illegal offset type error
Php
Arrays
MySQL and PHP - insert NULL rather than empty string
Php
Mysql
Null
Sql Insert
When to implement and extend?
Php
Oop
Extend
PHP global in functions
Php
Language Design
Delimiter must not be alphanumeric or backslash and preg_match
Php
Regex
Preg Match
Adding three months to a date in PHP
Php
Date
Strtotime
What are cookies and sessions, and how do they relate to each other?
Javascript
Php
Session
Cookies
PHP: Move associative array element to beginning of array
Php
How to specify Composer install path?
Php
Symfony1
Composer Php
How do I dynamically write a PHP object property name?
Php
How to create a logfile in php
Php
Logfile
How to execute raw queries with Laravel 5.1?
Php
Mysql
Sql
Database
Laravel 5.1
Cleansing User Passwords
Php
Sql
Pdo
Hash
How do I write unit tests in PHP?
Php
Unit Testing
Testing
Tdd
How do you pull first 100 characters of a string in PHP
Php
String
PHP memory profiling
Php
Memory
Profiling
How do I get the last inserted ID of a MySQL table in PHP?
Php
Mysql
php: determine where function was called from
Php
Function Calls
Why do you not use C for your web apps?
Php
C
Web Applications
Check if value isset and null
Php
Null
Isset
POST Content-Length exceeds the limit
Php
Combine two arrays
Php
Arrays
Unique
When should I use 'self' over '$this'?
Php
Class
Oop
Scope
How to get the file extension in PHP?
Php
File Extension
Check if PHP session has already started
Php
Session
Session Variables
How do I add PHP code/file to HTML(.html) files?
Php
Html
Apache
File
Error 330 (net::ERR_CONTENT_DECODING_FAILED):
Php
Openx
Why can't I access DateTime->date in PHP's DateTime class?
Php
Datetime
Laravel Middleware return variable to controller
Php
Laravel
Laravel 5
Laravel Middleware
How do I make an asynchronous GET request in PHP?
Php
Http
Curl
Asynchronous
Is there a way to use shell_exec without waiting for the command to complete?
Php
Shell
Beautiful way to remove GET-variables with PHP?
Php
Url
Variables
Get
What is the equivalent of JavaScript's encodeURIcomponent in PHP?
Php
Javascript
Encoding
Encodeuricomponent
Include CSS,javascript file in Yii Framework
Javascript
Php
Css
Yii
how to delete all cookies of my website in php
Php
Cookies
How to set upload_max_filesize in .htaccess?
Php
.Htaccess
Configure WAMP server to send email
Php
Wamp
Phpmailer
Search for highest key/index in an array
Php
Arrays
Key
Highest
getenv() vs. $_ENV in PHP
Php
Environment Variables
How to access object properties with names like integers or invalid property names?
Php
Object
Properties
How to become an OpenCart guru?
Php
Opencart
Asynchronous Function Call in PHP
Php
Asynchronous
Network Programming
PHP, Get tomorrows date from date
Php
Date
Datetime
Strtotime
CloudFlare and logging visitor IP addresses via in PHP
Php
Logging
Ip Address
Cloudflare
Apache is downloading php files instead of displaying them
Php
Apache
Centos
PHP shorthand for isset()?
Php
Isset
Shorthand
Deprecated: mysql_connect()
Php
Mysql
Function
Deprecated
Do I have to guard against SQL injection if I used a dropdown?
Php
Mysql
Mysqli
Sql Injection
How to make PHPStorm collapsing all methods/functions on file open?
Php
User Interface
Editor
Phpstorm
Eloquent ORM laravel 5 Get Array of ids
Php
Laravel
Laravel 5
Eloquent
Model
How can I manually return or throw a validation error/exception in Laravel?
Php
Laravel
Validation
Exception
Error Handling
How do you set up use HttpOnly cookies in PHP
Php
Security
Cookies
Xss
Httponly
Multiple Inheritance in PHP
Php
Oop
Inheritance
Calling PHP functions within HEREDOC strings
Php
String
Heredoc
PHP Elvis operator vs null coalescing operator
Php
Php 7
Conditional Operator
Null Coalescing-Operator
Elvis Operator
How to pass an array within a query string?
Php
Arrays
Query String
Querystringparameter
adding 1 day to a DATETIME format value
Php
Mysql
Date
Datetime
Don't Echo Out cURL
Php
Curl
How to avoid isset() and empty()
Php
Error Reporting
PHP How to find the time elapsed since a date time?
Php
Date
Time
Timestamp
Relative Time-Span
Getting the names of all files in a directory with PHP
Php
File
Directory
Filenames
POST data to a URL in PHP
Php
Post
Sort multidimensional array by multiple columns
Php
Arrays
Sorting
Multidimensional Array
Tetris-ing an array
Php
String
Algorithm
Which MySQL datatype to use for an IP address?
Php
Mysql
Types
Ip Address
Which $_SERVER variables are safe?
Php
Security
PHP Array to JSON Array using json_encode();
Php
Arrays
Json
How to separate DATE and TIME from DATETIME in MySQL?
Php
Mysql
Sql
Datetime
PHP - Using PDO with IN clause array
Php
Mysql
Pdo
Prepared Statement
In Clause
best practice to generate random token for forgot password
Php
Security
Random
Timestamp
Token
Laravel Eloquent where field is X or null
Php
Laravel
Eloquent
How to find day of week in php in a specific timezone
Php
Datetime
Timezone
MySQL datetime fields and daylight savings time -- how do I reference the "extra" hour?
Php
Mysql
Datetime
Timestamp
Dst
How do I declare a two dimensional array?
Php
Arrays
How can I catch a "catchable fatal error" on PHP type hinting?
Php
Fatal Error
Type Hinting
How to get a form input array into a PHP array
Php
Arrays
Forms
Verify ImageMagick installation
Php
Imagemagick
json_decode to custom class
Php
Json
How to refresh token with Google API client?
Php
Google Api
Oauth 2.0
Access Token
Google Analytics-Api
Symfony 2 EntityManager injection in service
Php
Symfony
Dependency Injection
Reverse order of foreach list items
Php
How to access route, post, get etc. parameters in Zend Framework 2
Php
File Upload
Zend Route
Zend Framework2
memory_get_peak_usage() with "real usage"
Php
Memory
Memory Management
Why I'm getting 'Non-static method should not be called statically' when invoking a method in a Eloquent model?
Php
Laravel
Eloquent
Fastest way to check if a string is JSON in PHP?
Php
Json
Error Handling
Json Deserialization
Jsonresult
How can I perform static code analysis in PHP?
Php
Code Analysis
Static Analysis
Laravel: Validation unique on update
Php
Validation
Laravel
Laravel 4
Laravel: Where to store global arrays data and constants?
Php
Laravel
Laravel 4
Global State
Laravel Request::all() Should Not Be Called Statically
Php
Laravel
Laravel 5
How to join three table by laravel eloquent model
Php
Mysql
Laravel
Manually register a user in Laravel
Php
Laravel
Laravel 5
Laravel 5.2
Why I am suddenly getting a "Typed property must not be accessed before initialization" error when introducing properties type hints?
Php
Doctrine Orm
Php 7
Type Hinting
Php 7.4
How to include PHP files that require an absolute path?
Php
Is closing the mysql connection important?
Php
Mysql
Return index of highest value in an array
Php
Arrays
array_unique for objects?
Php
Arrays
Methods
Convert/cast an stdClass object to another class
Php
Stdclass
How can I implement an Access Control List in my Web MVC application?
Php
Oop
Model View-Controller
Acl
What kinds of patterns could I enforce on the code to make it easier to translate to another programming language?
Php
Python
Compiler Construction
Coding Style
Abstract Syntax-Tree
How to load return array from a PHP file?
Php
Arrays
Include
Get all variables sent with POST?
Php
Http Post
PHP max_input_vars
Php
How to integrate nodeJS + Socket.IO and PHP?
Php
node.js
socket.io
Real Time
Detect EXIF Orientation and Rotate Image using ImageMagick
Php
Imagemagick
Exif
Laravel Advanced Wheres how to pass variable into function?
Php
Sql
Laravel
Passing $_POST values with cURL
Php
Post
Curl
how to enable sqlite3 for php?
Php
Sqlite
How can one check to see if a remote file exists using PHP?
Php
File
Networking
Testing
Check if var exist before unsetting in PHP?
Php
Can PHP instantiate an object from the name of the class as a string?
Php
Class
Object
Initialization
Get interval seconds between two datetime in PHP?
Php
Datetime
Date Difference in php on days?
Php
Date
Datediff
PHP Objects vs Arrays -- Performance comparison while iterating
Php
Arrays
Optimization
Object
Send json post using php
Php
Json
Post
Curl
Http Post
Disabling Strict Standards in PHP 5.4
Php
Error Handling
Get custom product attributes in Woocommerce
Php
Wordpress
Woocommerce
Product
Custom Taxonomy
Check if xdebug is working
Php
Xdebug
WordPress query single post by slug
Php
Wordpress
HTTP requests with file_get_contents, getting the response code
Php
File
Http
Stream
Download files in laravel using Response::download
Php
Laravel
Laravel 4
Laravel Routing
Project Links do not work on Wamp Server
Php
Mysql
Apache
Wamp
Wampserver
How Can I Remove “public/index.php” in the URL Generated Laravel?
Php
.Htaccess
Laravel
Laravel 4
Laravel Routing
PHP: Call to undefined function: simplexml_load_string()
Php
Xml
Function
Curl
eloquent laravel: How to get a row count from a ->get()
Php
Sql
Laravel
Eloquent
Type hinting for properties in PHP 7?
Php
Attributes
Php 7
Type Hinting
Variable Types
PHP 7 interfaces, return type hinting and self
Php
Interface
Return Type
Php 7
Type Hinting
What is the best practice for adding constants in laravel? (Long List)
Php
Laravel
Laravel 5
Constants
Laravel 5.3
In PHP how can you clear a WSDL cache?
Php
Soap
Caching
Wsdl
How can I get the classname from a static call in an extended PHP class?
Php
Oop
Inheritance
How to escape strings in SQL Server using PHP?
Php
Sql Server
Escaping
Sanitization
PHP Sessions across sub domains
Php
Authentication
Session
Cross Domain
Changing upload_max_filesize on PHP
Php
Upload
Alternative to mysql_real_escape_string without connecting to DB
Php
Mysql
Mysql Real-Escape-String
PHP call_user_func vs. just calling function
Php
Function
Getting last month's date in php
Php
Date
What is Doctrine hydration?
Php
Doctrine
Hydration
PHP mailer multiple address
Php
Phpmailer
Show Curl POST Request Headers? Is there a way to do this?
Php
Curl
Request
Header
Libcurl
Where does PHP's error log reside in XAMPP?
Php
Apache
Xampp
Accessing an associative array by integer index in PHP
Php
Checking if date is weekend PHP
Php
Date
If Singletons are bad then why is a Service Container good?
Php
Oop
Design Patterns
Frameworks
Set Response Status Code
Php
Cakephp
Cakephp 1.3
Http Status-Codes
How to locate the php.ini file (xampp)
Php
Xampp
Ini
Access POST values in Symfony2 request object
Php
Symfony
Http Post
composer.lock: how does it work?
Php
Dependency Management
Package Managers
Composer Php
How to add property to object in PHP >= 5.3 strict mode without generating error
Php
Class
In Twig, check if a specific key of an array exists
Php
Arrays
Twig
Conditional
Short Circuiting
Undefined function mysql_connect()
Php
Mysql
Ubuntu
Mysql Connect
Undefined Function
How can one use multi threading in PHP applications
Php
Multithreading
What is a Python equivalent of PHP's var_dump()?
Php
Python
Debugging
How can I parse a JSON file with PHP?
Php
Json
Can't use method return value in write context
Php
How to hash long passwords (>72 characters) with blowfish
Php
Security
Hash
Passwords
Blowfish
Laravel validation attributes "nice names"
Php
Laravel
Multilingual
Laravel 3
Check if string contains a value in array
Php
Arrays
XAMPP: Couldn't start Apache (Windows 10)
Php
Apache
Xampp
cannot find autoconf. please check your autoconf installation Xampp in CentOS
Php
Centos
Xampp
Memcached
Autoconf
mysqli_real_connect(): (HY000/2002): No such file or directory
Php
Macos
Mysqli
Phpmyadmin
Difference between NULL and null in PHP
Php
Null
PHP - include a php file and also send query parameters
Php
Parameters
Include
What is unexpected T_VARIABLE in PHP?
Php
Syntax Error
Warning: DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity,
Php
How do I remove all specific characters at the end of a string in PHP?
Php
Regex
String
Remote file size without downloading file
Php
Curl
php is_function() to determine if a variable is a function
Php
Anonymous Function
How do I find all YouTube video ids in a string using a regex?
Php
Regex
Youtube
How to get user agent in PHP
Php
User Agent
What does it mean to escape a string?
Php
Mysql
Security
Escaping
Regular expression to validate username
Java
Php
Html
Regex
Perl
How does RecursiveIteratorIterator work in PHP?
Php
Iterator
Spl
Divide integer and get integer value
Php
Access a global variable in a PHP function
Php
Scope
Catching exceptions from Guzzle
Php
Api
Functional Testing
Guzzle
Curl error 60, SSL certificate issue: self signed certificate in certificate chain
Php
Curl
Oauth
Vk
Precedence and bitmask operations
Php
Bit Manipulation
Bitwise Operators
Operator Precedence
On a function that gets settings from a DB I ran into the error
Php
Can I do Model->where('id', ARRAY) multiple where conditions?
Php
Laravel
How to install php-redis extension using the official PHP Docker image approach?
Php
Redis
Docker
Dockerfile
laravel collection to array
Php
Arrays
Laravel
Eloquent
Convert from MySQL datetime to another format with PHP
Php
Mysql
Datetime
json_decode to array
Php
Arrays
Json
What is the difference between a language construct and a "built-in" function in PHP?
Php
Function
Built In
Language Construct
Simultaneous Requests to PHP Script
Php
Request
Save PHP array to MySQL?
Php
Mysql
Arrays
How to get primary key of table?
Php
Mysql
Primary Key
how to convert object into string in php
Php
PHP split alternative?
Php
PHP - Floating Number Precision
Php
Floating Point
Precision
Floating Accuracy
GD vs ImageMagick vs Gmagick for jpg?
Php
Image
Image Processing
Imagemagick
Gd
Checking if a variable is an integer in PHP
Php
Running PHP script from the command line
Php
Command Line
How to properly set up a PDO connection
Php
Mysql
Sql
Class
Pdo
How can I send JSON response in symfony2 controller
Php
Javascript
Json
Symfony
Laravel back button
Php
Laravel
How to group subarrays by a column value?
Php
Arrays
Grouping
Remove all html tags from php string
Php
How do I return integer and numeric columns from MySQL as integers and numerics in PHP?
Php
Mysql
Pdo
PHP Carbon, get all dates between date range?
Php
Php Carbon
Laravel: PDOException: could not find driver
Php
Mysql
Apache
Laravel
Sqlite
How can I update code that uses the deprecated each() function?
Php
Each
How unique is the php session id
Php
Session
Guid
How to switch from POST to GET in PHP CURL
Php
Post
Curl
Get
What's the difference between ++$i and $i++ in PHP?
Php
Operators
Opening/closing tags & performance?
Php
Html
Performance
Templates
Tags
Giving my function access to outside variable
Php
Function
Scope
Get Country of IP Address with PHP
Php
Geolocation
Ip Address
Geoip
Ip Geolocation
How to deal with an apostrophe while writing into a MySQL database
Php
Mysql
Mysql Error-1064
Random number in range [min - max] using PHP
Php
Security
Random
PHP: how can I get file creation date?
Php
File
In PHP, what is a closure and why does it use the "use" identifier?
Php
Closures
How to define an empty object in PHP
Php
Object
How to find the last day of the month from date?
Php
Date
How to generate a random, unique, alphanumeric string?
Php
String
Random
Uniqueidentifier
PHP - how to create a newline character?
Php
String Interpolation
Remove all elements from array that do not start with a certain string
Php
Arrays
Key
Filtering
Array Filter
PHP: convert spaces in string into %20?
Php
String
Urlencode
Fatal error: [] operator not supported for strings
Php
Mysql
PHP - define constant inside a class
Php
Class
Constants
Is there Java HashMap equivalent in PHP?
Php
Hashmap
How to send UTF-8 email?
Php
Email
Utf 8
Setting PHPMyAdmin Language
Php
Phpmyadmin
Install PECL modules without the prompts
Php
Pecl
What does 'P' stand for in the DateInterval format?
Php
Php 5.3
phpmyadmin automatic logout time
Php
Mysql
Database
Cookies
Phpmyadmin
PHP combine two associative arrays into one array
Php
Arrays
Multidimensional Array
Associative Array
How to check if variable is array?... or something array-like
Php
Arrays
Foreach
Doctrine 2 and Many-to-many link table with an extra field
Php
Mysql
Doctrine Orm
How to document magic (_call and _callStatic) methods for IDEs
Php
Documentation
Phpstorm
Magic Methods
Docblocks
how to configuring a xampp web server for different root directory
Php
Apache
Webserver
Xampp
What is the difference between 'local value' and 'master value'?
Php Ini
Php
How to install Laravel's Artisan?
Php
Laravel
Htaccess: add/remove trailing slash from URL
Php
Apache
.Htaccess
Mod Rewrite
Laravel update model with unique validation rule for attribute
Php
Laravel
Validation
Eloquent
How to test if string contains another string in PHPUnit?
Php
Phpunit
Check if belongsToMany relation exists - Laravel
Php
Laravel
Laravel 4
How to get file URL using Storage facade in laravel 5?
Php
Laravel
Flysystem
Mysql password expired. Can't connect
Php
Mysql
Macos
Osx Elcapitan
Get environment value in controller
Php
Laravel
Laravel 5
Config
Type hinting in PHP 7 - array of objects
Php
Arrays
Oop
Type Hinting
Php 7
Package php5 have no installation candidate (Ubuntu 16.04)
Php
Ubuntu
Apt
Dpkg
Ubuntu 16.04
Install php-zip on php 5.6 on Ubuntu
Php
Zip
Installing GD in Docker
Php
Docker
Dockerfile
How can I change php-cli version on Ubuntu 14.04?
Php
Linux
Ubuntu
PHP simpleXML how to save the file in a formatted way?
Php
Formatting
Simplexml
Variable type hinting in Netbeans (PHP)
Php
Phpdoc
Php Ide
How to gracefully handle files that exceed PHP's `post_max_size`?
Php
Upload
Why is my $_ENV empty?
Php
Apache
Environment Variables
What is the difference between session_unset() and session_destroy() in PHP?
Php
Session
Session Cookies
Is it safe to trust $_SERVER['REMOTE_ADDR']?
Php
Security
Ip Address
Checking if all the array items are empty PHP
Php
Arrays
Validation
Downloading a large file using curl
Php
Curl
Download
PHP remove all characters before specific string
Php
String
Is there a built-in way to get all of the changed/updated fields in a Doctrine 2 entity
Php
Symfony
Doctrine Orm
Doctrine
How can I find the php.ini file used by the command line?
Php
Easyphp
Laravel requires the Mcrypt PHP extension
Php
Laravel
Laravel 4
Mcrypt
PHP sessions that have already been started
Php
Session
How to check if not instance of some class in symfony2
Php
How do I replace part of a string in PHP?
Php
Warning: preg_replace(): Unknown modifier 'g'
Php
Regex
nginx: connect() failed (111: Connection refused) while connecting to upstream
Php
Nginx
Fastcgi
Mod Fastcgi
Http Status-Code-502
How can I run only one test from a suite?
Php
Codeception
How to include External CSS and JS file in Laravel 5
Php
Laravel 5
PHP Warning: Module already loaded in Unknown on line 0
Php
Configuration
Centos7
Ini
Intl
phpunit avoid constructor arguments for mock
Php
Unit Testing
Phpunit
How to check if a date is in a given range?
Php
Date
Date Range
Using $this inside a static function fails
Php
Oop
This
Static Methods
Where do we use the object operator "->" in PHP?
Php
Is == in PHP a case-sensitive string comparison?
Php
String Comparison
Facebook Graph API, how to get users email?
Php
Json
Facebook
Facebook Graph-Api
Shorthand for arrays: is there a literal syntax like {} or []?
Php
Arrays
Syntax
Should I be using assert in my PHP code?
Php
Assert
What's the difference between is_null($var) and ($var === null)?
Php
Location for session files in Apache/PHP
Php
Apache
Session
How can I use PHP to check if a directory is empty?
Php
Directory
Recursive function to generate multidimensional array from database result
Php
Arrays
Function
Recursion
Selecting a css class with xpath
Php
Html
Xml
Xpath
Web
Characters allowed in php array keys?
Php
Arrays
Key
php how to go one level up on dirname(__FILE__)
Php
Dirname
PHP date() with timezone?
Php
Date
Timezone
Showing all errors and warnings
Php
Debugging
Warnings
Change Timezone in Lumen or Laravel 5
Php
Laravel 5
Lumen
Laravel 5 Application Key
Php
Laravel
Laravel 5.1
How to force Laravel Project to use HTTPS for all routes?
Php
Ssl
Https
Routes
Laravel 5.2
Is there a way to extend a trait in PHP?
Php
Laravel
Traits
Php 7
Create an assoc array with equal keys and values from a regular array
Php
Arrays
Are global variables in PHP considered bad practice? If so, why?
Php
Global Variables
Global
Best way to manage long-running php script?
Php
Apache
Curl
Httprequest
How can I find the first and last date in a month using PHP?
Php
Date
Going from a framework to no-framework
Php
Frameworks
Codeigniter
PHP __get and __set magic methods
Php
Magic Methods
explain $CI =& get_instance();
Php
Codeigniter
Merge PDF files with PHP
Php
Pdf
Which method is preferred strstr or strpos?
Php
Strpos
Strstr
When to use strtr vs str_replace?
Php
String
Str Replace
Strtr
Using `$this` in an anonymous function in PHP pre 5.4.0
Php
Anonymous Function
How to create new property dynamically
Php
Object
Properties
How do I print all POST results when a form is submitted?
Php
Post
Echo
How to merge two php Doctrine 2 ArrayCollection()
Php
Symfony
Doctrine Orm
Arraycollection
My Routes are Returning a 404, How can I Fix Them?
Php
Laravel
Routing
Laravel Routing
Laravel 3
PHP pass variable to include
Php
Variables
Include
Global Variables
Global
How to enable DDoS protection?
Php
Security
Ddos
Denial of-Service
How to convert a string to JSON object in PHP
Php
Json
String
Object
Example of how to use bind_result vs get_result
Php
Mysql
Mysqli
Prepared Statement
correct PHP headers for pdf file download
Php
Pdf
Header
How to use the php that brew installed?
Php
Macos
Apache
Homebrew
How do I write to the console from a Laravel Controller?
Php
Laravel
Logging
Console
how to create virtual host on XAMPP
Php
Apache
Zend Framework
Xampp
Virtualhost
Laravel Blade passing variable with string through @include causes error
Php
Laravel
Laravel 5
Blade
Switch in Laravel 5 - Blade
Php
Laravel
Switch Statement
Laravel 5
Blade
Where does PHP store the error log? (PHP 5, Apache, FastCGI, and cPanel)
Error Handling
Php
PHPDoc type hinting for array of objects?
Php
Ide
Phpdoc
Var
Hint
How to set the default value of an attribute on a Laravel model
Php
Laravel
Laravel 5
Closures in PHP... what, precisely, are they and when would you need to use them?
Php
Oop
Closures
PHP: Best way to extract text within parenthesis?
Php
Parsing
String
When is eval evil in php?
Php
Eval
Access array returned by a function in php
Php
Arrays
Why do PHP Array Examples Leave a Trailing Comma?
Php
Arrays
Code Generation
Hash tables VS associative arrays
Php
Hashtable
Associative Array
Simple PHP Pagination script
Php
Sql
Pagination
Instantiate a class with or without parentheses?
Php
How to check if an integer is within a range of numbers in PHP?
Php
Range
Int
Does UTC observe daylight saving time?
Php
Time
Dst
Pass a variable to a PHP script running from the command line
Php
Command Line
Command Line-Arguments
Get the first letter of each word in a string
Php
String
Given a Unix timestamp, how to get beginning and end of that day?
Php
Timestamp
Strtotime
Unix Timestamp
How to access an application parameters from a service?
Php
Symfony
Yaml
Why PHP Trait can't implement interfaces?
Php
Oop
Interface
Traits
how to upload file using curl with PHP
Php
Curl
Upload
Generating cryptographically secure tokens
Php
Security
Openssl
Token
Composer loading from cache
Php
Composer Php
Running composer in a different directory than current
Php
Composer Php
Passing data to buildForm() in Symfony 2.8, 3.0 and above
Php
Symfony
Laravel What is a guard?
Php
Laravel
Authentication
How do I track file downloads
Php
Apache
Logging
Download
Analytics
Generating (pseudo)random alpha-numeric strings
Php
Random
Get PHP to stop replacing '.' characters in $_GET or $_POST arrays?
Php
Regex
Postback
How to "flatten" a multi-dimensional array to simple one in PHP?
Php
Arrays
Multidimensional Array
How do I get PHP errors to display?
Php
Error Handling
Syntax Error
Error Reporting
How to convert an array to object in PHP?
Php
Arrays
Object
Casting
Fatal error: Maximum execution time of 30 seconds exceeded
Php
Json
PHP cURL custom headers
Php
Curl
PHP multidimensional array search by value
Php
Arrays
Multidimensional Array
php == vs === operator
Php
Comparison
Operators
Equality
Managing curl output in php
Php
Curl
JetBrains WebIDE: PHP variable type hinting?
Php
Phpstorm
Type Hinting
Web Ide
MySQL Alter Table Add Field Before or After a field already present
Php
Mysql
SimpleXml to string
Php
Xml
Simplexml
How to send 500 Internal Server Error error from a PHP script
Php
Http Headers
Converting a number with comma as decimal point to float
Php
Parsing
Floating Point
Doctrine 2: Update query with query builder
Php
Sql
Database
Doctrine
How to SFTP with PHP?
Php
Sftp
curl_exec printing results when I don't want to
Php
Curl
PHP: If internet explorer 6, 7, 8 , or 9
Php
Browser
Codeigniter - no input file specified
Codeigniter
Php
Check if PHP-page is accessed from an iOS device
Php
Iphone
Ios
Http Headers
How to stop xdebug from stopping on first line with PhpStorm?
Php
Debugging
Xdebug
Phpstorm
Headers and client library minor version mismatch
Php
Ubuntu
Mysqli
Warnings
How to implement a bitmask in php?
Php
Bitmask
imagecreatefromjpeg and similar functions are not working in PHP
Php
Gd
What Does Using A Single Pipe '|' In A Function Argument Do?
Php
Function
Arguments
Bitwise Operators
enable cors in .htaccess
Php
Apache
.Htaccess
Cors
Slim
PHP wait for input from command line
Php
Command Line
Apache is not running from XAMPP Control Panel ( Error: Apache shutdown unexpectedly. This may be due to a blocked port)
Php
Apache
Server
Xampp
Port
Laravel Eloquent - Attach vs Sync
Php
Laravel
Laravel 4
Eloquent
Relationship
Laravel: Error [PDOException]: Could not Find Driver in PostgreSQL
Php
Database
Postgresql
Laravel
Syntax Error
How to to send mail using gmail in Laravel?
Php
Laravel
Email
Gmail
Extension gd is missing from your system - laravel composer Update
Php
Laravel
Laravel 5.2
Gd
PHP setcookie "SameSite=Strict"?
Php
Security
Cookies
install ext-zip for Mac
Php
Macos
Composer Php
Command Line-Interface
Homebrew
Edit PDF en PHP?
Php
Pdf
PHP output showing little black diamonds with a question mark
Php
Encoding
Character Encoding
What are PHP nested functions for?
Php
Nested Function
ASCII Library for Creating "Pretty" Directory Trees?
Php
Unix
Tree
Ascii
Why doesn't this code simply print letters A to Z?
Php
How to run single test method with phpunit?
Php
Phpunit
What does PHP keyword 'var' do?
Php
Keyword
PHP Constants Containing Arrays?
Php
Arrays
Constants
Scalar
What http status code is supposed to be used to tell the client the session has timed out?
Php
Ajax
Yui
Http Status-Codes
How to use XMLReader in PHP?
Php
Xml
Parsing
Simplexml
Xmlreader
Converting HTML to plain text in PHP for e-mail
Php
Html
Email
Plaintext
How to cast array elements to strings in PHP?
Php
String
Arrays
Casting
php: catch exception and continue execution, is it possible?
Php
What is the equivalent of php's print_r() in python?
Php
Python
php exec command (or similar) to not wait for result
Php
Exec
If else embedding inside html
Php
Html
PHP get domain name
Php
Domain Name
Generating a random hex color code with PHP
Php
Hex
Passing an array using an HTML form hidden element
Php
Check if cookies are enabled
Php
Javascript
Session Cookies
What is the correct way to write PHPDocs for constants?
Php
Phpdoc
Get current date, given a timezone in PHP?
Php
Date
Timezone
Is it necessary to declare PHP array before adding values with []?
Php
Arrays
Add error to Symfony 2 form element
Php
Validation
Symfony
Symfony Forms
How to use a findBy method with comparative criteria
Php
Doctrine Orm
Best way to document Array options in PHPDoc?
Php
Cakephp
Phpdoc
Replace preg_replace() e modifier with preg_replace_callback
Php
Regex
Preg Replace
Preg Replace-Callback
How to write to error log file in PHP
Php
Reference
PHP cURL error code 60
Php
Curl
Ubuntu typing 'php' in terminal shows a lot of errors
Php
Ubuntu
How to make a drop down list in yii2?
Php
Drop Down-Menu
Yii2
laravel No supported encrypter found. The cipher and / or key length are invalid
Php
Ssl
Laravel 5
configure: error: Please reinstall the libzip distribution
Php
Php 7
Pecl
Why do I get a laravel error while creating a new project?
Php
Laravel
Connection pooling in PHP
Php
Connection Pooling
Calling Python in PHP
Php
Python
Handling data in a PHP JSON Object
Php
Json
How can I properly use a PDO object for a parameterized SELECT query
Php
Mysql
Select
Pdo
PHP short hash like URL-shortening websites
Php
Hash
How to join filesystem path strings in PHP?
Php
String
File
Disable warnings when loading non-well-formed HTML by DomDocument (PHP)
Php
Html
Warnings
Domdocument
PHPDoc: @return void necessary?
Php
Return Value
Phpdoc
What is ?: in PHP 5.3?
Php
Php 5.3
Ternary Operator
Conditional Operator
Language Construct
How to prevent my site page to be loaded via 3rd party site frame of iFrame
Php
Python
Iframe
Http Headers
Frame
How to override trait function and call it from the overridden function?
Php
Traits
What's the difference between isset() and array_key_exists()?
Php
Filter array by its keys using an array of allowed keys
Php
Arrays
Key
Filtering
Whitelist
Reset ID autoincrement ? phpmyadmin
Php
Mysql
How to print all properties of an object
Php
Debugging
Best way to code Achievements system
Php
Mysql
Database
Design Patterns
definitive way to get user ip address php
Php
PHPUnit: How do I create a function to be called once for all the tests in a class?
Php
Phpunit
PHP read_exif_data and Adjust Orientation
Php
Orientation
Exif
How long can a TLD possibly be?
Php
Regex
Email Validation
Tld
Get week number (in the year) from a date PHP
Php
Date
Mktime
Warning: Cannot modify header information - headers already sent by ERROR
Php
Header
CURL ERROR: Recv failure: Connection reset by peer - PHP Curl
Php
Curl
Yii
How to run composer from anywhere?
Php
Composer Php
CRON command to run URL address every 5 minutes
Php
Cron
Add 'x' number of hours to date
Php
Date
Datetime
Dateadd
Hour
How to check if curl is enabled or disabled
Php
Is there a way to uninstall dev dependencies with composer?
Php
Composer Php
How to search a file in PhpStorm?
Php
Phpstorm
How do I import a .sql file in mysql database using PHP?
Php
Mysql
Lumen Micro Framework => php artisan key:generate
Php
Lumen
Laravel Socialite: InvalidStateException
Php
Facebook
Laravel
Laravel 5
How to install php-curl in Ubuntu 16.04
Php
Ubuntu
Curl
Ubuntu 16.04
Php Curl
Efficient JPEG Image Resizing in PHP
Php
Image
Gd
Jpeg
Handling PUT/DELETE arguments in PHP
Php
Rest
Codeigniter
Curl
Http Headers
How can I get the error message for the mail() function?
Php
Email
Accessing $_COOKIE immediately after setcookie()
Php
Cookies
How to get AM/PM from a datetime in PHP
Php
Date
Formatting
Dynamic constant name in PHP
Php
Constants
Indirection
Saving image from PHP URL
Php
Image
How can I connect to a Tor hidden service using cURL in PHP?
Php
Curl
Proxy
Tor
How to push both value and key into PHP array
Php
Arrays
Dynamic constant name in PHP
Php
Constants
Indirection
Maximum size of a PHP session
Php
Session
Size
Max
If null use other variable in one line in PHP
Php
PHP cURL HTTP PUT
Php
Rest
Curl
Put
Http Put
How to specify null value as filter in a Doctrine query?
Php
Null
Doctrine
Dql
Remove a part of a string, but only when it is at the end of the string
Php
String
Replace
Preg Replace
Checking during array iteration, if the current element is the last element
Php
Arrays
Why return object instead of array?
Php
How to call a closure that is a class variable?
Php
Lambda
Closures
Anonymous Function
Accessing Files Relative to Bundle in Symfony2
Php
Symfony
Add a prefix to each item of a PHP array
Php
Arrays
Explode
Prefix
Implode
PHP Create and Save a txt file to root directory
Php
How do I fix "Add myBundle to the asseticBundle config" symfony2 exception?
Php
Symfony
Twig
Can I call curl_setopt with CURLOPT_HTTPHEADER multiple times to set multiple headers?
Php
Curl
Return single column from a multi-dimensional array
Php
Arrays
Implode
Array Column
How can I echo the version of the current Laravel version in php using the view?
Php
Laravel
Version
Using comet with PHP?
Php
Comet
Copy Image from Remote Server Over HTTP
Php
Image
Import
Curl
Copy
Sending email with gmail smtp with codeigniter email library
Php
Codeigniter
Email
Smtp
How do I install soap extension?
Php
Soap
Dreamhost
Limit String Length
Php
String
make switch use === comparison not == comparison In PHP
Php
Type Conversion
Is there a PHP function for swapping the values of two variables?
Php
Function
Swap
php - Should I call exit() after calling Location: header?
Php
Who Add "_" Single Underscore Query Parameter?
Php
Javascript
Ajax
Apache
Http
PHP buffer ob_flush() vs. flush()
Php
Flush
Output Buffering
Using AND/OR in if else PHP statement
Php
If Statement
Convert time in HH:MM:SS format to seconds only?
Php
Time
Does PHP have short-circuit evaluation?
Php
If Statement
Short Circuiting
Call to undefined function curl_init().?
Php
Curl
PHPUnit assert that an exception was thrown?
Php
Exception
Phpunit
Assert
How can I replace newline or \r\n with <br/>?
Php
Html
Line Breaks
Nl2br
exit, exit(), exit(0), die(), die(0) - How to exit script
Php
Implode an array with ", " and add "and " before the last item
Php
Arrays
Get current category ID of the active page
Php
Wordpress
Wordpress Theming
Categories
Function to check if a string is a date
Php
Regex
Validation
Date
Datetime
Can I parameterize the table name in a prepared statement?
Php
Mysql
Sql
PHPExcel Make first row bold
Php
Phpexcel
Find PHP version on windows command line
Php
Windows
Command
Version
POST request with JSON body
Php
Json
Post
How to merge array and preserve keys?
Php
Arrays
500 Internal Server Error for php file not for html
Php
Html
Apache
Internal Server-Error
Calling other function in the same controller?
Php
Laravel
How to get Current Timestamp from Carbon in Laravel 5
Php
Laravel
Laravel 5
Php Carbon
Laravel 5.1 Unknown database type enum requested
Php
Laravel
Laravel 4
Laravel 5
Get the list of outdated Composer packages
Php
Composer Php
Fatal error: Uncaught Error: Call to undefined function mysql_connect()
Php
Mysql
Xampp
Make PhpStorm stop automatically closing tabs
Php
Phpstorm
Docker & Laravel : configure: error: Package requirements (oniguruma) were not met
Php
Laravel
Docker
Dockerfile
MySQL - ignore insert error: duplicate entry
Php
Mysql
Insert
Upload Progress Bar in PHP
Php
Upload
Progress Bar
Can a method be used as an array_map function
Php
Methods
Array Map
Does PHP have an equivalent to Python's list comprehension syntax?
Php
Arrays
List Comprehension
Higher Order-Functions
Language Comparisons
PHP syntax question: What does the question mark and colon mean?
Php
Syntax
Ternary Operator
Deny direct access to all .php files except index.php
Php
.Htaccess
curl error 18 - transfer closed with outstanding read data remaining
Php
Curl
Is it possible to have an interface that has private / protected methods?
Php
Oop
Interface
Pre-installed Linux for Web Developers?
Php
Linux
Development Environment
PHP memcached Fatal error: Class 'Memcache' not found
Php
Memcached
Ubuntu 9.10
Get the last insert id with doctrine 2?
Php
Orm
Doctrine
Lastinsertid
SQL Query: order by length of characters?
Php
Sql
Mysql
Not equal to != and !== in PHP
Php
Operators
When to use Redis instead of MySQL for PHP applications?
Php
Mysql
Redis
Passing a variable from one php include file to another: global vs. not
Php
Variables
Include
Scope
Global
How to write a REST API?
Php
Iphone
Mysql
Rest
Case insensitive string comparison
Php
If Statement
Case Insensitive
Any decent PHP parser written in PHP?
Php
Parsing
How to access the elements of a function's return array?
Php
Arrays
Function
How to secure database passwords in PHP?
Php
Database
Security
Website screenshots
Php
Screenshot
Use keyword in functions - PHP
Php
Closures
Anonymous Function
What is the use of <<<EOD in PHP?
Php
Syntax
PHP how to import all classes from another namespace
Php
Import
Namespaces
Safely catch a 'Allowed memory size exhausted' error in PHP
Php
Memory
PHP sessions default timeout
Php
Session
Timeout
Default
Java equivalent of PHP's implode(',' , array_filter( array () ))
Java
Php
Use of Initialization Vector in openssl_encrypt
Php
Security
Openssl
Is native PHP support for Web Sockets available?
Php
Javascript
Websocket
How can I suppress PHPCS warnings using comments?
Php
Phpunit
Phpcs
How do you get the path to the Laravel Storage folder?
Php
Laravel
PHP Notice: Undefined offset: 1 with array when reading data
Php
Error Handling
Syntax Error
Undefined
Fatal Error
Send email with PHP from html form on submit with the same script
Php
Html
Email
How to rename uploaded file before saving it into a directory?
Php
Mysql
File Upload
File Rename
PHP check if date between two dates
Php
Date
Laravel - Pass more than one variable to view
Php
Laravel
Laravel 3
How to exclude certains columns while using eloquent
Php
Laravel
Eloquent
Sending POST parameters with Postman doesn't work, but sending GET parameters does
Php
Postman
How to check which PHP extensions have been enabled/disabled in Ubuntu Linux 12.04 LTS?
Php
Linux
Ubuntu 12.04
Php Extension
Authorization header missing in PHP POST request
Php
Apache
Http
Header
Authorization
Where to find composer's global packages?
Php
Sublimetext2
Composer Php
Sublimetext
How can I enable the MySQLi extension in PHP 7?
Php
Mysql
Mysqli
Php 7
Unable to self-update Composer
Php
Composer Php
PHP 7.2 Function create_function() is deprecated
Php
Global or Singleton for database connection?
Php
Design Patterns
Singleton
Command Line Password Prompt in PHP
Php
Passwords
How can one run multiple versions of PHP 5.x on a development LAMP server?
Php
Lamp
Transposing multidimensional arrays in PHP
Php
Arrays
Higher Order-Functions
PHP curly brace syntax for member variable
Php
Syntax
Variables
Curly Braces
How can strip whitespaces in PHP's variable?
Php
String
Whitespace
Get parent directory of running script
Php
Directory
Passing JavaScript array to PHP through jQuery $.ajax
Php
Javascript
Jquery
Ajax
Error message "Strict standards: Only variables should be passed by reference"
Php
Reference
Strict
PDO::PARAM for type decimal?
Php
Mysql
Database
Pdo
Issues with PHP 5.3 and sessions folder
Php
Session
How to create and use nonces
Php
Actionscript 3
Cryptography
Nonce
How to embed images in email
Php
Image
Email
Embed
Emulate a 403 error page
Php
Header
Http Status-Code-403
Creating default object from empty value in PHP?
Php
Converting a POSTMAN request to Curl
Php
Curl
Postman
Laravel Add a new column to existing table in a migration
Php
Laravel
Laravel Migrations
Mock private method with PHPUnit
Php
Mocking
Phpunit
Converting a SimpleXML Object to an Array
Php
Xml
Arrays
php random x digit number
Php
Random
Numbers
How to re-save the entity as another row in Doctrine 2
Php
Doctrine
Doctrine Orm
Temporal Database
failed to open stream: HTTP wrapper does not support writeable connections
Php
Caching
How do I enable --enable-soap in php on linux?
Php
Linux
Soap
Fedora
What is the best way to read last lines (i.e. "tail") from a file using PHP?
Php
Performance
Logging
How To Run PHP From Windows Command Line in WAMPServer
Php
Windows
Shell
Command Line
Wamp
Update without touching timestamps (Laravel)
Php
Laravel
Laravel 4
Eloquent
Fix Access denied for user 'root'@'localhost' for phpMyAdmin
Php
Mysql
Phpmyadmin
Wamp
Error building : fatal error: pcre.h: No such file or directory
Php
Ubuntu
Build
Phalcon
Ubuntu 13.10
Eloquent ->first() if ->exists()
Php
Laravel
Eloquent
Laravel: How to get last N entries from DB
Php
Database
Laravel
Laravel 4
Eloquent
Laravel Request getting current path with query string
Php
Laravel
Laravel 5
Laravel Request
Forcing a SimpleXML Object to a string, regardless of context
Php
Xml
Simplexml
what does a php function return by default?
Php
Function
Variables
Language Design
Optimizing Kohana-based Websites for Speed and Scalability
Php
Optimization
Performance
Scalability
Kohana
intl extension: installing php_intl.dll
Php
Windows Xp
Intl
Do PHP interfaces have properties?
Php
Oop
Interface
Methods
Is there a simple PHP development server?
Php
Webserver
php: check if an array has duplicates
Php
Arrays
Duplicates
Why are my PHP files showing as plain text?
Php
Apache
Does PHP have a struct data type?
Php
php: how to get associative array key from numeric index?
Php
Key
Associative Array
Get the year from specified date php
Php
Date
Failed to connect to mailserver at "localhost" port 25
Php
Email
Smtp
PHP sort array by two field values
Php
Arrays
Sorting
Using json_encode on objects in PHP (regardless of scope)
Php
Json
Scope
Redbean
add to array if it isn't there already
Php
Inserting NOW() into Database with CodeIgniter's Active Record
Php
Mysql
Codeigniter
How to get response using cURL in PHP
Php
Curl
Call php function from JavaScript
Php
Javascript
Html
Ajax
How to select distinct query using symfony2 doctrine query builder?
Php
Doctrine Orm
Symfony
Query Builder
nl2br() equivalent in javascript
Php
Javascript
Jquery
Phpjs
phpexcel to download
Php
Download
Export
Phpexcel
Export to-Excel
Array of PHP Objects
Php
Arrays
Object
What is the best way to upload and store pictures on the site?
Php
File Upload
PHP simple foreach loop with HTML
Php
Html
Foreach
Why does 1234 == '1234 test' evaluate to true?
Php
Equals
Equality
How to inject a repository into a service in Symfony?
Php
Symfony
Dependency Injection
What is the JS equivalent to the PHP function number_format?
Php
Javascript
Jquery
How to include WordPress functions in custom .php file?
Php
Wordpress
Include
Where can I find unit tests for regular expressions in multiple languages?
Java
Php
Javascript
.Net
Regex
Unable to send email using Gmail SMTP server through PHPMailer, getting error: SMTP AUTH is required for message submission on port 587. How to fix?
Php
Smtp
Gmail
Phpmailer
How to efficiently use try...catch blocks in PHP
Php
Exception Handling
Try Catch
How to check if the request is an AJAX request with PHP
Php
Ajax
Xmlhttprequest
Symfony2 - creating own vendor bundle - project and git strategy
Php
Git
Symfony
Bundle
Google Calendar Push Notifications SetUp
Php
Calendar
Google Calendar-Api
Google Api-Php-Client
How to only use created_at in Laravel
Php
Laravel
PHP 7 simpleXML
Php
Simplexml
Php 7
Laravel check if collection is empty
Php
Laravel
Laravel 5.2
Composer throws [ReflectionException] Class Fxp\Composer\AssetPlugin\Repository\NpmRepository does not exist
Php
Yii2
Composer Php
Is it possible to specify multiple return types on PHP 7?
Php
Php 7
Type Hinting
How to Install Font Awesome in Laravel Mix
Php
Laravel
Laravel 5
Webpack
Laravel Mix
Call to a member function on a non-object
Php
Using SimpleXML to create an XML object from scratch
Php
Xml
Simplexml
Get the date of next monday, tuesday, etc
Php
Datetime
phpunit require_once() error
Php
Installation
Phpunit
Filepath
Php Ini
PHP: What does __('Some text') do?
Php
Kohana 3
PDO::fetchAll vs. PDO::fetch in a loop
Php
Mysql
Pdo
Fetch
When setting environment variables in Apache RewriteRule directives, what causes the variable name to be prefixed with "REDIRECT_"?
Php
Apache
Mod Rewrite
Environment Variables
Naming
Merging two images with PHP
Php
Image
Merge
Resize
Overlay
PDOException SQLSTATE[HY000] [2002] No such file or directory
Php
Mysql
Laravel
Database
Pdo
urlencode vs rawurlencode?
Php
Urlencode
Url Encoding
How to strip trailing zeros in PHP
Php
String
How to create an empty array in PHP with predefined size?
Php
Arrays
Fatal error: Call to undefined function mb_strlen()
Php
how to get the first and last days of a given month
Php
Date
Doctrine 2 + unsigned value
Php
Doctrine Orm
PHP XML how to output nice format
Php
Xml
Domdocument
PHP-FPM and Nginx: 502 Bad Gateway
Php
Nginx
Amazon Ec2
Fastcgi
Fpm
PHP setlocale has no effect
Php
Date
Setlocale
Breaking the nested loop
Php
Loops
Nested Loops
Move table from one database to another in MySQL
Php
Mysql
PhpStorm how to refresh folder content or whole project tree
Php
Phpstorm
PHP date add 5 year to current date
Php
Get random boolean true/false in PHP
Php
Random
Boolean
Understanding Doctrine Cascade Operations
Php
Doctrine
Cascade
getting the value of an extra pivot table column laravel
Php
Mysql
Laravel
Many to-Many
Pivot Table
ReCaptcha 2.0: enable Submit button on callback if recaptcha successful
Javascript
Php
Jquery
Captcha
Recaptcha
How can I access an array/object?
Php
Arrays
Class
Object
Properties
artisan migration error "Class 'Doctrine\\DBAL\\Driver\\PDOMySql\\Driver' not found",
Php
Laravel
Symfony
Laravel 5
add new element in laravel collection object
Php
Laravel
Laravel 5
Calculate difference between two dates using Carbon and Blade
Php
Laravel
Laravel Blade
Php Carbon
What's the best way to generate a tag cloud from an array using h1 through h6 for sizing?
Php
Arrays
Tag Cloud
Best way to get result count before LIMIT was applied
Php
Sql
Postgresql
Window Functions
Sql Limit
MySQL ORDER BY IN()
Php
Mysql
Sql Order-By
In Function
Magento - Retrieve products with a specific attribute value
Php
Magento
E Commerce
Entity Attribute-Value
How to get opcodes of PHP?
Php
Opcode
Installing PHPUnit via PEAR
Php
Phpunit
Pear
Retrieving the name of the current function in PHP
Php
Function
Check whether the string is a unix timestamp
Php
Datetime
Time
Unix Timestamp
How can I tell which button was clicked in a PHP form submit?
Php
What does double question mark (??) operator mean in PHP
Php
Operator Keyword
What is the difference between bindParam and bindValue?
Php
Pdo
Bindparam
Bindvalue
Send email using the GMail SMTP server from a PHP page
Php
Email
Smtp
Gmail
How do you debug PHP scripts?
Php
Eclipse
Debugging
Phpstorm
Xdebug
In PHP, how do you change the key of an array element?
Php
Arrays
Associative Array
How to remove non-alphanumeric characters?
Php
Regex
String
WordPress Get the Page ID outside the loop
Php
Wordpress
How do you make strings "XML safe"?
Php
Xml
Cakephp
Is it possible to overwrite a function in PHP
Php
Function
Redeclaration
What does @ mean in PHP?
Php
is there something like isset of php in javascript/jQuery?
Javascript
Php
Jquery
Isset
file_get_contents when url doesn't exist
Php
File Get-Contents
PHP CURL & HTTPS
Php
Curl
Https
How can I validate regex?
Php
Regex
How to convert MySQL time to UNIX timestamp using PHP?
Php
Mysql
Timestamp
What are the advantages of using Node.js vs PHP
Php
node.js
get next and previous day with PHP
Php
Date
How do I escape only single quotes?
Php
Escaping
What is the difference between Sessions and Cookies in PHP?
Php
Session
Cookies
Session State
Session Cookies
Get the Year/Month/Day from a datetime in php?
Php
Convert number of minutes into hours & minutes using PHP
Php
Time
How to get exact browser name and version?
Php
Javascript
Jquery
Browser
How to view query error in PDO PHP
Php
Mysql
Pdo
Throwing exceptions in a PHP Try Catch block
Php
Exception Handling
Drupal 6
Try Catch
301 or 302 Redirection With PHP
Php
.Htaccess
Redirect
Http Status-Code-302
Making PHP var_dump() values display one line per value
Php
Line
Var Dump
PHP merge arrays with only NOT DUPLICATED values
Php
Arrays
Merge
PHP function use variable from outside
Php
Function
Variables
PHP: Best way to check if input is a valid number?
Php
Input
Validation
Numeric
How to check if a defined constant exists in PHP?
Php
If Statement
Constants
Fuelphp
PHPUnit: assertInstanceOf() not working
Php
Phpunit
Assert
Assertions
How to pass data to view in Laravel?
Php
Laravel
Pass Data
Laravel Views
Symfony2 and date_default_timezone_get() - It is not safe to rely on the system's timezone settings
Php
Symfony
Timezone
Laravel OrderBy relationship count
Php
Mysql
Laravel
Eloquent
Displaying the Error Messages in Laravel after being Redirected from controller
Php
Laravel
Laravel 4
Blade
How to ignore invalid SSL certificate errors in Guzzle 5
Php
Ssl
Curl
Guzzle
Route [login] not defined
Php
Laravel
How to run or debug php on Visual Studio Code (VSCode)
Php
Debugging
Visual Studio-Code
GD Library extension not available with this PHP installation Ubuntu Nginx
Php
Laravel
Ubuntu
Nginx
Load Blade assets with https in Laravel
Php
Laravel
Http
Https
Laravel Blade
PHP: bool vs boolean type hinting
Php
Boolean
Default Value
Type Hinting
How to install PHP composer inside a docker container
Php
Laravel
Docker
Composer Php
Docker Compose
Is there any way to return HTML in a PHP function? (without building the return value as a string)
Php
String
Templating
Allow php sessions to carry over to subdomains
Php
Apache
Session
Cookies
Run process with realtime output in PHP
Php
Linux
Apache
Process
Real Time
file_get_contents behind a proxy?
Php
Proxy
Can you get a method name from within a method in PHP?
Php
Methods
Oop
Changing the sign of a number in PHP?
Php
Math
Numbers
Sign
How Can I add HTML And CSS Into PDF
Php
Html
Css
Pdf
Pdf Generation
startsWith() and endsWith() functions in PHP
Php
String
When do I use the PHP constant "PHP_EOL"?
Php
Eol
Can I try/catch a warning?
Php
Error Handling
Try Catch
Difference between array_map, array_walk and array_filter
Php
Arrays
Callback
How to call super in PHP?
Php
Oop
Login without HTTPS, how to secure?
Php
Ajax
Security
Encryption
Cryptography
PDO::PARAM for dates?
Php
Mysql
Date
Types
Pdo
MySql Proccesslist filled with "Sleep" Entries leading to "Too many Connections"?
Php
Mysql
How to select rows where column value IS NOT NULL using CodeIgniter's ActiveRecord?
Php
Mysql
Codeigniter
Activerecord
Null
MySQLi prepared statements error reporting
Php
Mysql
Mysqli
Prepared Statement
How do I give PHP write access to a directory?
Php
File Permissions
Chmod
How unique is uniqid?
Php
php: Array keys case *insensitive* lookup?
Php
Arrays
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax — PHP — PDO
Php
Sql
Mysql
Pdo
Mysql Error-1064
How to pass extra variables in URL with WordPress
Php
Wordpress
Url
Get
How to build a RESTful API?
Php
Authentication
Rest
Pass Javascript Array -> PHP
Php
Javascript
Jquery
Arrays
PHP: Split string
Php
String
Split
PHP Using RegEx to get substring of a string
Php
Regex
Parsing
Substring
Notice: Undefined offset: 0 in
Php
Html
Is en_UK an illegal locale?
Php
Zend Framework
Locale
How to print exact sql query in zend framework ?
Php
Mysql
Zend Framework
Zend Db
FLOW3 action parameters and arrays of objects
Php
Model View-Controller
Orm
Typo3 Flow
CodeIgniter - how to catch DB errors?
Php
Codeigniter
PHPUnit best practices to organize tests
Php
Phpunit
Can you append strings to variables in PHP?
Php
String
Operators
How to use andWhere and orWhere in Doctrine?
Php
Sql
Doctrine
How do I return a proper success/error message for JQuery .ajax() using PHP?
Php
Jquery
Html
Ajax
How to resolve cURL Error (7): couldn't connect to host?
Php
Xml
Curl
What is SAPI and when would you use it?
Php
Sapi
Which is Faster and better, Switch Case or if else if?
Php
Performance
If Statement
Switch Statement
Send File Attachment from Form Using phpMailer and PHP
Php
File Upload
Phpmailer
Email Attachments
Find everything between two XML tags with RegEx
Java
Php
Regex
Xml
Perl
Creating csv file with php
Php
Csv
What does PSR-0 stand for?
Php
How to check if class exists within a namespace?
Php
Oop
Namespaces
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Javascript
Php
Jquery
Ajax
Json
Docker-compose up : Error while fetching server API version: ('Connection aborted.', ConnectionRefusedError(61, 'Connection refused'))
Php
Docker
Api
Server
Docker Compose
Correct file permissions for WordPress
Php
Wordpress
Chmod
How should I choose an authentication library for CodeIgniter?
Php
Codeigniter
Authentication
How to convert string to boolean php
Php
String
Casting
Boolean
How to resolve ambiguous column names when retrieving results?
Php
Sql
Mysql
Mysql Error-1052
How to create virtual column using MySQL SELECT?
Php
Mysql
Select
Which compression method to use in PHP?
Php
Compression
Gzip
Best way to do a PHP switch with multiple values per case?
Php
Switch Statement
Is header('Content-Type:text/plain'); necessary at all?
Php
Http Headers
Content Type
Head
Response Headers
Function inside a function.?
Php
Function
php variable in html no other way than: <?php echo $var; ?>
Php
Html
Variables
Can I "Mock" time in PHPUnit?
Php
Phpunit
Block direct access to a file over http but allow php script access
Php
Apache
Permissions
PHP number: decimal point visible only if needed
Php
String
Automation
Integer
Best way to check if mysql_query returned any results?
Php
Mysql
How to Read / Improve C.R.A.P Index Calculated by PHP
Php
Unit Testing
Phpunit
How to check if an integer is within a range?
Php
Int
Range
How to catch this error: "Notice: Undefined offset: 0"
Php
Error Handling
Try Catch
Difference between 2 dates in seconds
Php
Date
http_build_query() without url encoding
Php
Urlencode
Setting width of spreadsheet cell using PHPExcel
Php
Phpexcel
Phpspreadsheet
find if date is older than 30 days
Php
String
Datetime
Date
Time
Accessing a class constant using a simple variable which contains the name of the constant
Php
Class
Variables
Constants
Get first element in PHP stdObject
Php
Object
Multidimensional Array
How to rename sub-array keys in PHP?
Php
Are PHP Associative Arrays ordered?
Php
Arrays
Dictionary
Strip php variable, replace white spaces with dashes
Php
Is there a Twig shorthand syntax for outputting conditional text
Php
Twig
mysqlworkbench giving version error on exporting database
Php
Mysql
Export
Mysql Workbench
How to check if time is between two times in PHP
Php
Time
PHP include relative path
Php
How to get address location from latitude and longitude in Google Map.?
Javascript
Php
Google Maps
How to stop VMware port error of 443 on XAMPP Control Panel v3.2.1
Php
Apache
Xampp
How to get all class names inside a particular namespace?
Php
Namespaces
PHP. Is it possible to use array_column with an array of objects
Php
WAMP/MySQL errors not in correct language
Php
Mysql
Phpmyadmin
Wampserver
Where to put/how to handle enums in Laravel?
Php
Laravel
Enums
How to validate Google reCAPTCHA v3 on server side?
Php
Recaptcha
Recaptcha V3
How to redirect back to form with input - Laravel 5
Php
Forms
Laravel
Redirect
Laravel 5
Laravel 5 Querying with relations causes "Call to a member function addEagerConstraints() on null" error
Php
Mysql
Laravel
Laravel 5
Eloquent
Expected response code 220 but got code "", with message "" in Laravel
Php
Email
Laravel
Swiftmailer
Composer: Command Not Found
Php
Composer Php
Why would one omit the close tag?
Php
Security
Http Headers
Pass a PHP string to a JavaScript variable (and escape newlines)
Php
Javascript
Escaping
Newline
Laravel 5 Failed opening required bootstrap/../vendor/autoload.php
Php
Laravel 5
Laravel 5.2 - pluck() method returns array
Php
Laravel
Eloquent
Query Builder
Laravel 5.2
Function return type hinting for an array of objects in PHP7
Php
Php 7
How to install PHP intl extension in Ubuntu 14.04
Php
Ubuntu
Zend Framework2
Google reCaptcha response "Uncaught (in promise) null"
Javascript
Php
Html
Ajax
Recaptcha
Message: Trying to access array offset on value of type null
Php
Php 7.4
Run PHPUnit Tests in Certain Order
Php
Unit Testing
Phpunit
Loading .sql files from within PHP
Php
Sql
Mysql
Import
Scripting
Best solution to protect PHP code without encryption
Php
Encryption
Obfuscation
JavaScript equivalent of PHP's preg_replace
Php
Javascript
Regex
What is the advantage of using try {} catch {} versus if {} else {}
Php
Mysql
Pdo
Speed of code execution: ASP.NET-MVC versus PHP
Php
asp.net Mvc
Arguments
How can I get a hex dump of a string in PHP?
Php
String
Encoding
Character Encoding
Hex
Get code line and file that's executing the current function in PHP?
Php
Is GOTO in PHP evil?
Php
Goto
Unsetting array values in a foreach loop
Php
Arrays
Foreach
Unset
Questions every good PHP Developer should be able to answer
Php
Get current class and method?
Php
PHP: Split string into array, like explode with no delimiter
Php
String
Arrays
Split
Explode
Most efficient way to get next letter in the alphabet using PHP
Php
String
Alphabet
How to find out what the date was 5 days ago?
Php
How can I split a string at the first occurrence of "-" (minus sign) into two $vars with PHP?
Php
Split
How to increment letters like numbers in PHP?
Php
Is is possible to set a default PDO fetch mode?
Php
Pdo
How can I improve this PHP/MySQL news feed?
Php
Mysql
Web Applications
Feed
How to get single value from this multi-dimensional PHP array
Php
Arrays
Where is localhost folder located in Mac or Mac OS X?
Php
Macos
Eclipse Pdt
PHP type-hinting to primitive values?
Php
Primitive Types
Type Hinting
PHP MYSQL UPDATE if Exist or INSERT if not?
Php
Mysql
Sql Update
Sql Insert
On Duplicate-Key
Listing all the folders subfolders and files in a directory using php
Php
Directory
Get max_execution_time in PHP script
Php
Symfony2 - Validation not working for embedded Form Type
Php
Symfony
PHP Implode But Wrap Each Element In Quotes
Php
Implode
Getting all request parameters in Symfony 2
Php
Symfony
Request
Is it possible to declare a method static and nonstatic in PHP?
Php
Oop
Preventing session hijacking
Php
Security
Session
Creating a folder when I run file_put_contents()
Php
How to list all tables in PhpMyAdmin's left menu?
Php
Database Design
Phpmyadmin
How do I make a PATCH request in PHP using cURL?
Php
Curl
Patch
what means new static?
Php
Get previous attribute value in Eloquent model event
Php
Laravel
Laravel 4
Eloquent
How to write a PHP ternary operator
Php
Ternary Operator
Slow updating of composer dependencies, despite --prefer-dist flag
Php
Symfony
Composer Php
Ajax Upload image
Php
Jquery
Html
Ajax
Laravel mail: pass string instead of view
Php
Email
Laravel
Laravel 4
Swiftmailer
Laravel Mail::send() sending to multiple to or bcc addresses
Php
Email
Laravel
Laravel 4
How to structure a modular app in Laravel 5?
Php
Laravel
Laravel Routing
Laravel 5
Laravel firstOrNew how to check if it's first or new?
Php
Laravel
Laravel 5
Eloquent
How do I do HTTP basic authentication using Guzzle?
Php
Http
Basic Authentication
Guzzle
Laravel throws 'The bootstrap/cache directory must be present and writable' error after update
Php
Laravel
Laravel 5
Composer Php
How to set php executable path php.validate.executablePath in vscode when php is set inside docker container?
Php
Validation
Visual Studio-Code
Vscode Settings
vcruntime140.dll 14.0 not compatible with PHP build
Php
Windows Server-2016
Vcredist
Error "Root composer.json requires php ^7.3 but your php version (8.0.0) does not satisfy that requirement"
Php
Laravel
Suppress error with @ operator in PHP
Php
Operators
Error Suppression
In PHP (>= 5.0), is passing by reference faster?
Php
Performance
Pass by-Reference
Custom Exception Messages: Best practices
Php
Exception
Return a PHP page as an image
Php
Image Processing
Http Headers
Mime Types
When do I use static variables/functions in php?
Php
Oop
Static
What do the "=&" and "&=" operators in PHP mean?
Php
Operators
How to change mysql to mysqli?
Php
Mysql
Mysqli
Can you store a function in a PHP array?
Php
Arrays
Function
PDO binding values for MySQL IN statement
Php
Mysql
Pdo
Sql In
Output an Image in PHP
Php
Image
How to check if a string starts with "_" in PHP?
Php
How to get store information in Magento?
Php
Magento
How to increase my "advanced" knowledge of PHP further? (quickly)
Php
Structure
System Design
How to find a value in an array and remove it by using PHP array functions?
Php
Arrays
Function
Built In
How to check if a string is base64 valid in PHP
Php
Validation
Base64
Split camelCase word into words with php preg_match (Regular Expression)
Php
Regex
String
Preg Match
Boolean value switch/invert
Php
Boolean
skip current iteration
Php
Loops
Execute PHP scripts within Node.js web server
Php
node.js
PHP code is not being executed, but the code shows in the browser source code
Php
Apache
How to include Authorization header in cURL POST HTTP Request in PHP?
Php
Http
Curl
Oauth
How to Use AJAX in a WordPress Shortcode?
Php
Ajax
Wordpress
Shortcode
How can I know which 'php.ini' file is used?
Php
Php Ini
Form submit with AJAX passing form data to PHP without page refresh
Php
Jquery
Ajax
Forms
Serialization
Get UTC from another timezone with Carbon
Php
Php Carbon
Composer: required packages with differing levels of minimum-stability
Php
Json
Laravel
Laravel 4
Composer Php
Laravel unexpected error "class user contains 3 abstract methods..."
Php
Laravel
Laravel Escaping All HTML in Blade Template
Php
Laravel
Laravel 4
Laravel Blade
Force composer to require PHP Version between Version X and Version Y
Php
Composer Php
Laravel query builder - re-use query with amended where statement
Php
Mysql
Laravel
Query Builder
How to wrap selection in quotes using PhpStorm?
Php
Configuration
Phpstorm
How to get Blade template view as a raw HTML string?
Php
Laravel
Laravel Blade
PHP DateTime microseconds always returns 0
Php
Datetime
What is the best way to validate a credit card in PHP?
Php
Validation
E Commerce
Numbers
Credit Card
How do you make websites with Java?
Java
Php
Mysql
How to create friendly URL in php?
Php
Url
Friendly Url
How to replace Microsoft-encoded quotes in PHP
Php
String
Encoding
Character Encoding
PHP Coding styles return; in switch/case
Php
Coding Style
Remove control characters from PHP string
Php
Regex
String
PHP class instantiation. To use or not to use the parentheses?
Php
Oop
Class
Instantiation
file_get_contents() Breaks Up UTF-8 Characters
Php
Utf 8
File Get-Contents
Array as session variable
Php
Arrays
Session
ucfirst() function for multibyte character encodings
Php
Character Encoding
Does $_SERVER['HTTP_X_REQUESTED_WITH'] exist in PHP or not?
Php
Ajax
Http Headers
PHP: date function to get month of the current date
Php
Datetime
Why can't PHP create a directory with 777 permissions?
Php
Mkdir
Case-insensitive array search
Php
Arrays
Traits vs. interfaces
Php
Interface
Traits
Best way to do multiple constructors in PHP
Php
Constructor
Multiple Constructors
Receive JSON POST with PHP
Php
Json
Post
Get table column names in MySQL?
Php
Sql
Mysql
PHP header(Location: ...): Force URL change in address bar
Php
Redirect
Header
Location
REST API Authorization & Authentication (web + mobile)
Php
Api
Authentication
Rest
Authorization
Send HTML in email via PHP
Php
Html
Email
Send
How to overload class constructor within traits in PHP >= 5.4
Php
Traits
Generate URL with parameters from an array
Php
Arrays
New lines (\r\n) are not working in email body
Php
Email
Newline
Content Type
Is it possible to get Ruby syntax highlighting in PHPStorm?
Php
Ruby
Phpstorm
PHP: Why isn't exec() returning output?
Php
Exec
Ping
Laravel 4 migrate rollback problems
Php
Laravel
netbeans shows "Waiting For Connection (netbeans-xdebug)"
Php
Windows
Apache
Netbeans
Xdebug
Why array_diff() gives Array to string conversion error?
Php
Arrays
Multidimensional Array
Array Difference
PHP traits - defining generic constants
Php
Oop
Traits
Laravel named route for resource controller
Php
Laravel
Laravel 4
PHP : 'use' inside of the class definition
Php
Oop
Namespaces
Multiple Inheritance
AWS SDK for PHP: Error retrieving credentials from the instance profile metadata server
Php
Amazon Web-Services
Google Cloud-Messaging
Aws Sdk
Amazon Sns
How do I get HTTP Request body content in Laravel?
Php
Xml
Laravel
Phpunit
Laravel password validation rule
Php
Laravel
Validation
Laravel 5
BitTorrent: Download not starting
Php
Laravel
Laravel 5
Bittorrent
SQLSTATE[HY000] [2002] Connection refused within Laravel homestead
Php
Laravel 5
Migration
Homestead
Laravel Artisan
How to update Composer in Windows 10
Php
Composer Php
How to hide .env passwords in Laravel whoops output?
Php
Laravel
Environment Variables
Secret Key
Whoops
Error in phpMyAdmin after updating to v4.8.0: The $cfg['TempDir'] (./tmp/) is not accessible
Php
Mysql
Linux
Phpmyadmin
Does PHP have built-in data structures?
Php
Data Structures
php String Concatenation, Performance
Php
String
Concatenation
Generating random results by weight in PHP?
Php
Random
How to get directory size in PHP
Php
Filesystems
PHP shell_exec() vs exec()
Php
Shell
Command
Exec
"date(): It is not safe to rely on the system's timezone settings..."
Php
Timezone
PHP date() format when inserting into datetime in MySQL
Php
Mysql
How do I check if a directory exists? "is_dir", "file_exists" or both?
Php
Disable PHP in directory (including all sub-directories) with .htaccess
Php
Apache
.Htaccess
JSON vs. Serialized Array in database
Php
Mysql
Serialization
Mysql Json
PHP: How to call function of a child class from parent class
Php
Inheritance
Remove Text Between Parentheses PHP
Php
Text
Parentheses
What in layman's terms is a Recursive Function using PHP
Php
Function
Recursion
Is there a php function like python's zip?
Php
Python
Debugging php-cli scripts with xdebug and netbeans?
Command Line
Netbeans
Xdebug
Php
Execute a string of PHP code on the command line
Command Line
Php
When should I use stdClass and when should I use an array in php oo code?
Php
Oop
Stdclass
PHP file_get_contents very slow when using full url
Php
Round up to nearest multiple of five in PHP
Php
Function
Rounding
How to get cookie's expire time
Php
Cookies
Fatal error: Call to undefined function curl_init()
Php
Linux
Ubuntu
Curl
Debian
PHP Fatal error: Call to undefined function curl_init()
Php
Lampp
PHP warning: Call-time pass-by-reference has been deprecated
Php
Is foreach guaranteed to iterate in the array order in php?
Php
Foreach
Find a matching or closest value in an array
Php
Arrays
Search
Sorting
How To Execute SSH Commands Via PHP
Php
Ssh
Shell Exec
Why doesn't PHP permit private const?
Php
Oop
Constants
Private
Encapsulation
How to catch the fatal error: Maximum execution time of 30 seconds exceeded in PHP
Php
Try Catch
Fatal Error
SOAP request in PHP with CURL
Php
Soap
Curl
Find first character that is different between two strings
Php
String
Can you assign multiple variables at once in PHP like you can with Java?
Php
Variables
PHP: settings memory_limits > 1024M does not work
Php
Memory Limit
Error In PHP5 ..Unable to load dynamic library
Php
php.ini: which one?
Php
Sorting a php array of arrays by custom order
Php
Arrays
Multidimensional Array
Sorting
PHP error: "Cannot pass parameter 2 by reference"
Php
Mysqli
array_unique and then renumbering keys
Php
Array Unique
Get the number of pages in a PDF document
Php
Pdf
encrypt and decrypt md5
Php
Security
Hash
Passwords
Md5
php: try-catch not catching all exceptions
Php
Exception
Try Catch
PHP number format without comma
Php
Xampp Access Forbidden php
Php
Xampp
What is the difference between implode() & join()
Php
Calculate age based on date of birth
Php
Mysql
Date
Warning: mysqli_connect(): (HY000/2002): No such file or directory
Php
Mysql
Mysqli
PHPMailer - SMTP ERROR: Password command failed when send mail from my server
Php
Email
Smtp
Phpmailer
Laravel Migration table already exists, but I want to add new not the older
Php
Mysql
Laravel
osx 10.10 Curl POST to HTTPS url gives SSLRead() error
Php
Macos
Apache
Curl
Osx Yosemite
HTTP protocol's PUT and DELETE and their usage in PHP
Php
Http
Http Delete
Http Put
Http Options-Method
Laravel 5 Class 'form' not found
Php
Laravel
Composer Php
Fatal error: Class 'Illuminate\Foundation\Application' not found
Php
Laravel
Laravel 5
Composer Php
Laravel Artisan
Laravel migrations: Class "not found"
Php
Symfony
Laravel
Azure
Laravel blade check empty foreach
Php
Laravel
Foreach
Laravel migration table field's type change
Php
Laravel
Migration
Get the Last Inserted Id Using Laravel Eloquent
Php
Database
Laravel
Eloquent
How to get current time in milliseconds in PHP?
Php
Time
Milliseconds
Default value in Doctrine
Php
Orm
Doctrine Orm
Extract a single (unsigned) integer from a string
Php
String
Integer
Text Extraction
Using str_replace so that it only acts on the first match?
Php
String
Call a REST API in PHP
Php
Rest
Web Services
How do I format a number to a dollar amount in PHP
Php
Formatting
Currency
cleanup php session files
Php
Session
How to display a date as iso 8601 format with PHP
Php
Mysql
Date
Date Format
Time Format
Get first 100 characters from string, respecting full words
Php
String
Regular Expression to collect everything after the last /
Php
Regex
Return from include file
Php
Getting Hour and Minute in PHP
Php
Datetime
Time
Datetime Format
Time Format
Check if a string is an email address in PHP
Php
Email Validation
Javascript equivalent of PHP's list()
Php
Javascript
List
Phpjs
Formulas to Calculate Geo Proximity
Php
Mysql
Math
Geospatial
Geo
Can't concatenate 2 arrays in PHP
Php
Arrays
Concatenation
What is the maximum length of a String in PHP?
Php
How to start a foreach loop at a specific index in PHP
Php
How to print all session variables currently set?
Php
Session
In PHP, what does "<<<" represent?
Php
String
Operators
Heredoc
mysql server port number
Php
Mysql
Database
Database Connection
Port Number
Get array values by keys
Php
Arrays
Getting filename (or deleting file) using file handle
Php
File
PHP Warning: Unknown: failed to open stream
Php
Apache
Symfony2: how to get all entities of one type which are marked with "EDIT" ACL permission?
Php
Symfony
Doctrine
Acl
Entitymanager
How to get a platform independent directory separator in PHP?
Php
Directory
Filepath
How to include a PHP variable inside a MySQL statement
Php
Mysql
Sql
String
Variables
Force file download with php using header()
Php
Http Headers
How can I check if an array contains a specific value in php?
Php
Arrays
Posting JSON objects to Symfony 2
Php
Ajax
Json
Symfony
Header and footer in CodeIgniter
Php
Codeigniter
phpmailer: Reply using only "Reply To" address
Php
Phpmailer
How to make form_rest() not display a field with Symfony2?
Php
Forms
Symfony
Twig
How to reindex an array?
Php
Arrays
Fatal error: Out of memory, but I do have plenty of memory (PHP)
Php
Memory
Using Composer's Autoload
Php
Autoload
Composer Php
Best method of including views within views in CodeIgniter
Php
Codeigniter
Templates
Convert seconds to Hour:Minute:Second
Php
Time
Javascript Equivalent to PHP Explode()
Javascript
Php
String
Displaying HTML with Blade shows the HTML code
Php
Html
Laravel
Laravel Blade
How to convert date to timestamp in PHP?
Php
Date
Timestamp
List of Big-O for PHP functions
Php
Performance
Algorithm
Arrays
Big O
PHP variable interpolation vs concatenation
Php
String
Variables
Concatenation
String Interpolation
Resetting MySQL Root Password with XAMPP on Localhost
Php
Laravel: Difference App::bind and App::singleton
Php
Oop
Laravel 4
Ioc Container
Facade
PhpStorm Field accessed via magic method
Php
Codeigniter
Phpstorm
Laravel 5 - Interface is not instantiable
Php
Laravel
Repository Pattern
Laravel 5
Laravel Ioc
SQL Dialect is Not Configured (Phpstorm)
Php
Mysql
Phpstorm
how to fix stream_socket_enable_crypto(): SSL operation failed with code 1
Php
Laravel
Amazon Ec2
Ssl Certificate
apache2.4
Composer Update failed -- out of memory
Php
Out of-Memory
Composer Php
Formatting a Carbon date instance
Php
Laravel
Laravel 5
Php Carbon
How to find average from array in php?
Php
Arrays
Average
Silence "Declaration ... should be compatible" warnings in PHP 7
Php
Php 7
Php 7.2
Php 7.1
Php 7.0
laravel composer update : the requested PHP extension dom is missing from your system
Php
Laravel
Composer Php
PHP Error : Fatal error: Constant expression contains invalid operations
Php
php.ini & SMTP= - how do you pass username & password
Php
Smtp
Email
__construct() vs SameAsClassName() for constructor in PHP
Php
Constructor
How to test a second parameter in a PHPUnit mock object
Php
Phpunit
Do you name your arrays using plural or singular in PHP?
Php
Arrays
Naming Conventions
What is the max key size for an array in PHP?
Php
Arrays
Key
Examples of SQL Injections through addslashes()?
Php
Sql
Sql Injection
Security
PHP echo vs PHP short echo tags
Php
Function
Echo
Pageload
strcmp equivelant for integers (intcmp) in PHP
Php
Function
Integer
Compare
How can I display the users profile pic using the facebook graph api?
Php
Facebook
Facebook Graph-Api
where can I find the php.ini for php-cli
Php
Php Ini
How to flush output after each `echo` call?
Php
Apache
Echo
Flush
How to install bcmath module?
Php
Module
Bcmath
How to auto call function in php for every other function call
Php
How to get the previous url using PHP
Php
Http
Url
Referrer
PHP get the last 3 elements of an associative array while preserving the keys?
Php
Arrays
Increasing the maximum post size
Php
Apache
Count number of iterations in a foreach loop
Php
Foreach
PHP - Copy image to my server direct from URL
Php
How can I write to the console in PHP?
Php
Debugging
Printing
Console
Can PHP cURL retrieve response headers AND body in a single request?
Php
Http
Curl
Invalid argument supplied for foreach()
Php
Foreach
Download File to server from URL
Php
Http
Stream
Download
Laravel Checking If a Record Exists
Php
Laravel
Laravel 5
Eloquent
Conditional Statements
How to set up file permissions for Laravel?
Php
Apache
Laravel
Laravel 5
File Permissions
Reconstruct / get source code of a PHP function
Php
Reflection
Difference between set_time_limit() and ini_set('max_execution_time', ...)
Php
Storing PHP arrays in cookies
Php
Arrays
Cookies
php substr() function with utf-8 leaves � marks at the end
Php
Utf 8
Substr
How to check whether the Redis server is running
Php
Fuelphp
PHP sort array alphabetically using a subarray value
Php
Arrays
Remove all non-alphanumeric characters using preg_replace
Php
Regex
Preg Replace
Add space after every 4th character
Php
PHP str_replace replace spaces with underscores
Php
Str Replace
Laravel - Using (:any?) wildcard for ALL routes?
Php
Laravel
Routes
Wildcard
Laravel 3
MVC for advanced PHP developers
Php
Oop
Model View-Controller
PHP: How to get referrer URL?
Php
PHP how to get the base domain/url?
Php
How do I defer or async this WordPress javascript snippet to load lastly for faster page load times?
Javascript
Php
Wordpress
Asynchronous
Laravel Eloquent inner join with multiple conditions
Php
Laravel
Eloquent
Add "ON DELETE CASCADE" to existing column in Laravel
Php
Laravel
Laravel 4
Database Migration
Custom pagination view in Laravel 5
Php
Pagination
Laravel 5
Laravel 5 route not defined, while it is?
Php
Laravel
Routes
Laravel 5
phpMyAdmin Error: The mbstring extension is missing. Please check your PHP configuration
Php
Phpmyadmin
Mbstring
PHP - Why Use Guzzle Instead of cURL?
Php
Laravel
Curl
Guzzle
SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'
Php
Mysql
Authentication
Root
How to wrap long lines without spaces in HTML?
Php
Html
Css
Word Wrap
Resize iframe height according to content height in it
Php
Javascript
Ajax
Iframe
How can I truncate a string to the first 20 words in PHP?
Php
String
php create object without class
Php
What causes: "Notice: Uninitialized string offset" to appear?
Php
Arrays
Fixing broken UTF-8 encoding
Php
Mysql
Unicode
Utf 8
Invoking a PHP script from a MySQL trigger
Php
Mysql
Triggers
Cannot connect to MySQL 4.1+ using old authentication
Php
Mysql
Authentication
Connection
How can I use "Dependency Injection" in simple php functions, and should I bother?
Php
Dependency Injection
Parameter Passing
PHP: get number of decimal digits
Php
Decimal
Fatal error: Call to undefined function mcrypt_encrypt()
Php
Mcrypt
What is a "real" programming language?
Php
Programming Languages
Terminology
Continue PHP execution after sending HTTP response
Php
Fork
How can I add commas to numbers in PHP
Php
print an array as code
Php
Yaml
How to get previous month and year relative to today, using strtotime and date?
Php
Date
Strtotime
How can I properly escape HTML form input default values in PHP?
Php
Html
Forms
Xss
Is there a better PHP way for getting default value by key from array (dictionary)?
Php
Arrays
Key
Default Value
Language Design
Check if a specific value exists at a specific key in any subarray of a multidimensional array
Php
Arrays
Search
Multidimensional Array
Array Column
remove script tag from HTML content
Php
Regex
Htmlpurifier
Get Last Part of URL PHP
Php
Url
How to Check for a Specific Type of Object in PHP
Php
Oop
Object Type
Throw a NotImplementedError in PHP?
Php
Exception
Remove non-ascii characters from string
Php
How do I calculate the percentage of a number?
Php
Percentage
Are private constants possible in PHP?
Php
Constants
Private
PHP - Indirect modification of overloaded property
Php
Magic Methods
Symfony2 collection of Entities - how to add/remove association with existing entities?
Php
Forms
Collections
Symfony
Entity
Return current date plus 7 days
Php
Date
PHP add elements to multidimensional array with array_push
Php
Multidimensional Array
Array Push
Doctrine array vs simple_array vs json_array
Php
Arrays
Symfony
Doctrine Orm
Skip model accessor
Php
Laravel
File Not Found when running PHP with Nginx
Php
Nginx
PHP check if url parameter exists
Php
Url
Url Parameters
Get WooCommerce product categories from WordPress
Php
Wordpress
Woocommerce
Laravel queue process timeout error
Php
Symfony
Laravel
Timeout
Queue
How to install Laravel 5.0
Php
Laravel
Composer Php
Laravel 5
Use external variable in array_filter
Php
Scope
Array Filter
Whoops, looks like something went wrong. Laravel 5.0
Php
Laravel 5
How to change public folder to public_html in laravel 5
Php
Apache2
Laravel 5
Cpanel
Check whether a request is GET or POST
Php
Convert one date format into another in PHP
Php
Date
Datetime
Format
Date Conversion
PHP: Telegram Bot: Insert line break to text message
Php
Telegram Bot
Linefeed
Convert String to Carbon
Php
Date
Laravel 5.1
Php Carbon
How to get All input of POST in Laravel
Php
Laravel
Laravel 5
Why does PHP store uploaded files in a temporary location and what is the benefit?
Php
File Upload
How to fix "set SameSite cookie to none" warning?
Php
Cookies
What is the default lifetime of a session?
Php
Session
PHP standard input?
Php
File Io
Stdin
Is it possible to overload operators in PHP?
Php
Operator Overloading
Making sure PHP substr finishes on a word not a character
Php
Substring
How to compare 2 strings alphabetically in PHP?
Php
String
Sorting
Are there good tutorials on how to use PDO?
Php
Pdo
How to use HTTP cache headers with PHP
Php
Http
Caching
Dynamic static method call in PHP?
Php
Class
Function
Dynamic
What is a class in PHP?
Php
Class
How to Cast Objects in PHP
Php
Object
Casting
Convert a string to a double - is this possible?
Php
php_network_getaddresses: getaddrinfo failed: Name or service not known
Php
Fsockopen
How do I store an array in a file to access as an array later with PHP?
Php
Php Destructors
Php
Destructor
How to convert seconds to time format?
Php
Time
Format
PHP image upload security check list
Php
Security
Upload
How to use MAMP's version of PHP instead of the default on OSX
Php
Mamp
Ln
How to fake $_SERVER['REMOTE_ADDR'] variable?
Php
Security
PHP 5.4 - 'closure $this support'
Php
Closures
Is there any way to detect strings like putjbtghguhjjjanika?
Php
Algorithm
String
base_url() function not working in codeigniter
Php
Codeigniter
How to extract text from the PDF document?
Php
Pdf
Text
Unicode
How can I overwrite file contents with new content in PHP?
Php
File
How to remove multiple UTF-8 BOM sequences
Php
Utf 8
Byte Order-Mark
Remove elements of one array if it is found in another
Php
Arrays
What are the differences of system(), exec() and shell_exec() in PHP?
Php
Shell
System
Exec
Shell Exec
PHP - use array as class constant
Php
Arrays
Constants
Do I need a framework to build a REST API in PHP?
Php
Frameworks
Rest
Import file size limit in PHPMyAdmin
Php
Mysql
Phpmyadmin
How can I remove three characters at the end of a string in PHP?
Php
String
How can I send an email using PHP?
Php
Email
Wamp
Wampserver
How to verify if $_GET exists?
Php
Html
Urlvariables
How do I make this preg_match case insensitive?
Php
Regex
How to remove all numbers from string?
Php
Regex
PHP Mess Detector for Eclipse
Php
Eclipse
Unit Testing
Phpmd
Autoloading classes in PHPUnit using Composer and autoload.php
Php
Namespaces
Phpunit
Autoload
Composer Php
PHP Find all occurrences of a substring in a string
Php
String
PHP - How to merge arrays inside array
Php
Array Merge
Apache 2.4.6 on Ubuntu Server: Client denied by server configuration (PHP FPM) [While loading PHP file]
Apache
Ubuntu
Php
How to get protected property of object in PHP
Php
Object
Protected
Php 5.2
Select the first 10 rows - Laravel Eloquent
Php
Orm
Laravel
Eloquent
preg_match(): Compilation failed: invalid range in character class at offset
Php
Regex
Preg Match
PHP array vs [ ] in method and variable declaration
Php
Standards
Laravel Rule Validation for Numbers
Php
Laravel
Laravel 4
Laravel Validation one of two fields must be filled
Php
Validation
Laravel
Laravel 4
PHP Connection failed: SQLSTATE[HY000] [2002] Connection refused
Php
Mysql
Pdo
Laravel 5 session not persisting after user is logged in
Php
Session
Laravel
PHP 7 RC3: How to install missing MySQL PDO
Php
Mysql
Ubuntu
Pdo
Php 7
install php70-gd on ubuntu
Php
Gd
Php 7
hasMany vs belongsToMany in laravel 5.x
Php
Laravel
Eloquent
How to Validate on Max File Size in Laravel?
Php
Validation
Laravel
How to install all required PHP extensions for Laravel?
Php
Laravel
Ubuntu
Php Extension
How to logout and redirect to login page using Laravel 5.4?
Php
Laravel 5.4
laravel 5.5 The page has expired due to inactivity. Please refresh and try again
Php
Laravel
How can I find unused functions in a PHP project
Php
What are the best practices for avoiding xss attacks in a PHP site
Php
Security
Xss
Which coding style you use for ternary operator?
Php
Language Agnostic
Coding Style
Ternary Operator
How can I check if a word is contained in another string using PHP?
Php
String
How to properly indent PHP/HTML mixed code?
Php
Html
Indentation
How to get numeric types from MySQL using PDO?
Php
Mysql
Pdo
MySQL server has gone away - in exactly 60 seconds
Php
Mysql
Timeout
What use is lambda in PHP?
Php
Lambda
When to use a Class vs. Function in PHP
Php
Function
Class
How can I replace the deprecated set_magic_quotes_runtime in php?
Php
Deprecated
Composer require runs out of memory. PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted
Php
Symfony
Composer Php
How can I get the last 7 characters of a PHP string?
Php
String
No Application Encryption Key Has Been Specified
Php
Laravel
Laravel 5
Laravel 5.5
Laravel Artisan
How to get last key in an array?
Php
Arrays
How to call the constructor with call_user_func_array in PHP
Php
Constructor
PHP - warning - Undefined property: stdClass - fix?
Php
Object
Warnings
Strict mode in PHP
Php
Variables
Declaration
Return the portion of a string before the first occurrence of a character in PHP
Php
String
Multiple excerpt lengths in wordpress
Php
Wordpress
Function
How do I connect to PostgreSQL without specifying a database name?
Php
Postgresql
Update Command-line Output, i.e. for Progress
Php
Command Line
Stdout
Autoflush
How to upload and parse a CSV file in php
Php
Csv
How exactly does if($variable) work?
Php
Issue reading HTTP request body from a JSON POST in PHP
Php
Json
Post
Http Post
What is the difference between iconv() and mb_convert_encoding() in PHP?
Php
Character Encoding
Special Characters
Formatting DateTime object, respecting Locale::getDefault()
Php
Datetime Format
PHP remove commas from numeric strings
Php
String
Replace
Numbers
Comma
PHP object literal
Php
Object
Literals
Object Literal
PHP: Default cURL timeout value
Php
Curl
How to convert items in array to a comma separated string in PHP?
Php
Arrays
PHPUnit: how do I mock multiple method calls with multiple arguments?
Php
Mocking
Tdd
Phpunit
Python SimpleHTTPServer with PHP
Php
Python
Do I need to restart Apache after changing the php.ini file?
Php
Apache
How to search for slash (\) in MySQL? and why escaping (\) not required for where (=) but for Like is required?
Php
Mysql
Sql
Escaping
Getting checkbox values on submit
Php
Forms
Switch multiple case statement
Php
Switch Statement
Forbidden :You don't have permission to access /phpmyadmin on this server
Php
Mysql
Phpmyadmin
Phpunit tests gives warning no tests found in class
Php
Laravel
Phpunit
Laravel 5 How to switch from Production mode
Php
Laravel
Laravel Artisan
List all registered variables inside a Laravel view
Php
Laravel
Laravel 5
Get URL query string parameters
Php
Url
Query String
PDOException “could not find driver”
Php
Mysql
Pdo
Lamp
Array to String PHP?
Php
Arrays
String
What is the difference between the | and || or operators?
C#
Php
Operators
Difference between Eloquent\Model::get() and all()
Php
Laravel
Laravel 5
Eloquent
Token must be a short-lived token and in a reasonable timeframe
Php
Google Api
Google Api-Php-Client
How to validate phone number in laravel 5.2?
Php
Laravel
Laravel 5.2
Is it possible to type hint more than one type?
Php
Type Hinting
Php 8
How to change PHP version used by composer
Php
Composer Php
Docker image build with PHP zip extension shows "bundled libzip is deprecated" warning
Php
Docker
Php Extension
Libzip
Understanding PHP & (ampersand, bitwise and) operator
Php
Operators
Bit Manipulation
Bitwise Operators
PHP generate file for download then redirect
Php
Redirect
Header
PHP - remove <img> tag from string
Php
String
What is PHPSESSID?
Php
Cookies
Forcing to download a file using PHP
Php
Http
Download
Performance of static methods vs. functions
Php
Performance
Oop
How can I get php to return 500 upon encountering a fatal exception?
Php
Error Handling
Error Code
PHP : Custom error handler - handling parse & fatal errors
Php
Error Handling
Fatal Error
Parse Error
How to generate random date between two dates using php?
Php
Date
Datetime
Timestamp
Are PHP5 objects passed by reference?
Php
How to enable curl in xampp?
Php
Curl
Xampp
How to print all information from an HTTP request to the screen, in PHP
Php
Http
How to check if $_GET is empty?
Php
Get
PHP AES encrypt / decrypt
Php
Encryption
Cryptography
Aes
Encryption Symmetric
if block inside echo statement?
Php
Can PHP namespaces contain variables?
Php
Variables
Namespaces
Directory index forbidden by Options directive
Php
Apache
.Htaccess
Codeigniter
How to clone an array of objects in PHP?
Php
Arrays
Object
Clone
How can I loop through a MySQL result set more than once using the mysql_* functions?
Php
Mysql
How to set a class attribute to a Symfony2 form input
Php
Forms
Symfony
Input
Formbuilder
Accessing session from TWIG template
Php
Session
Symfony
Twig
Interface or an Abstract Class: which one to use?
Php
Oop
Interface
Abstract Class
How to enable PHP short tags?
Php
Tags
Php Shorttags
How to get body of a POST in php?
Php
Rest
Post
Truncate a string to first n characters of a string and add three dots if any characters are removed
Php
String
Ellipsis
Truncation
Why would I use dirname(__FILE__) in an include or include_once statement?
Php
Extension mysqli is missing, phpmyadmin doesn't work
Php
Mysql
Phpmyadmin
Ubuntu 12.04
Run Bash Command from PHP
Php
Bash
Exec
Retrieve path of tmpfile()
Php
How can I get XDebug to run with PHPUnit on the CLI?
Php
Phpunit
Command Line-Interface
Xdebug
How to create an interface composed of other interfaces?
Php
Interface
Is there a difference between the UTC and Etc/UTC time zones?
Php
Datetime
Timezone
Utc
How exactly do static fields work internally?
C#
Java
Php
Oop
Static Members
How to Block 100,000+ Individual IP addresses
Php
Apache
Security
.Htaccess
make script execution to unlimited
Php
Xampp
"usort" a Doctrine\Common\Collections\ArrayCollection?
Php
Doctrine Orm
Using Carbon to return a human readable datetime difference
Php
Laravel
Laravel 4
Php Carbon
Difference between "as $key => $value" and "as $value" in PHP foreach
Php
Arrays
Foreach
How to show progress bar while loading, using ajax
Javascript
Php
Jquery
Ajax
HTML/PHP - Form - Input as array
Php
Html
Html Input
Woocommerce get products
Php
Wordpress
Woocommerce
how to get the base url in javascript
Javascript
Php
Html
Css
Codeigniter
Eloquent model mass update
Php
Laravel
Laravel 4
Eloquent
How to reload/refresh model from database in Laravel?
Php
Laravel
Unit Testing
Laravel 4
Eloquent
Check if a class constant exists
Php
Constants
Fatal error: Call to undefined function mysqli_connect()
Php
Mysqli
Composer: remove a package, clean up dependencies, don't update other packages
Php
Composer Php
Laravel IN Validation or Validation by ENUM Values
Php
Validation
Laravel
Enums
Adding subscribers to a list using Mailchimp's API v3
Php
Json
Curl
Mailchimp
Mailchimp Api-v3.0
Fatal error: Class 'NumberFormatter' not found
Php
Laravel 5 change public_path()
Php
Laravel
Laravel 5
Facebook SDK returned an error: Cross-site request forgery validation failed. The "state" param from the URL and session do not match
Php
Wordpress
Facebook
Facebook Graph-Api
How to Log INFO to separate file in Laravel
Php
Laravel
Laravel 5
Monolog
Wordpress plugin install: Could not create directory
Php
Wordpress
Ftp
Create a Laravel Request object on the fly
Php
Request
Laravel 5.1
Using webpack with an existing PHP and JS project
Php
Jquery
Css
node.js
Webpack
Base64 Encoding Image
Php
Encoding
Base64
Opensearch
Performance of try-catch in php
Php
Performance
Exception Handling
Try Catch
How do I capture PHP output into a variable?
Php
Xml
SMS from web application
Php
Sms
Unique and temporary file names in PHP?
Php
json_decode returns NULL after webservice call
Php
Json
Is there a PHP Sandbox, something like JSFiddle is to JS?
Php
Sandbox
Laravel Eloquent Query Using WHERE with OR AND OR?
Php
Laravel
Eloquent
Laravel Query-Builder
Redirect with CodeIgniter
Php
Codeigniter
Redirect
Urlhelper
How to check whether the user uploaded a file in PHP?
Php
Clearing content of text file using php
Php
Html
Text Files
Magic __get getter for static properties in PHP
Php
Oop
Properties
Getter
How to get the OS on which PHP is running?
Php
Operating System
PHP Error: Function name must be a string
Php
How can I store and retrieve images from a MySQL database using PHP?
Php
Mysql
Database
Blob
PHP considers null is equal to zero
Php
Null
Advantages / Disadvantages of pconnect option in CodeIgniter
Php
Database
Performance
Codeigniter
Enabling/installing GD extension? --without-gd
Php
Amazon Ec2
Gd
Error: "Input is not proper UTF-8, indicate encoding !" using PHP's simplexml_load_string
Php
Xml
Encoding
Character Encoding
Simplexml
Access PHP var from external javascript file
Php
Javascript
Variables
External
parse youtube video id using preg_match
Php
Regex
Parsing
Youtube
DDD and MVC: Difference between 'Model' and 'Entity'
Php
Model View-Controller
Model
Domain Driven-Design
Entity
How can I force PHP to use strings for array keys?
Php
Arrays
PHP fileinfo is undefined function
Php
Mime Types
Undefined Function
What are register_globals in PHP?
Php
Getting title and meta tags from external website
Php
Curl
Title
Meta Tags
"SMTP Error: Could not authenticate" in PHPMailer
Php
Phpmailer
fgetcsv fails to read line ending in mac formatted csv file, any better solution?
Php
Fgetcsv
Callback function using variables calculated outside of it
Php
Anonymous Function
What's the difference between PHP's DOM and SimpleXML extensions?
Php
Simplexml
Domdocument
When to use Try Catch blocks
Php
Try Catch
PHP: Read Specific Line From File
Php
File
Line
Detecting negative numbers
Php
Comparison Operators
How do I make my PHP IDE understand Dependency Injection Containers?
Php
Ide
Dependency Injection
Phpstorm
php foreach with multidimensional array
Php
Arrays
Foreach
Is there any way to set a private/protected static property using reflection classes?
Php
Reflection
Visibility
Measure string size in Bytes in php
Php
String
String Length
Escaping quotation marks in PHP
Php
Slim PHP and GET Parameters
Php
Rest
Slim
Built in support for sets in PHP?
Php
Set
Redirect after Login on WordPress
Php
Wordpress
Redirect
Wordpress Theming
Start and stop a timer PHP
Php
Timer
Accessing main picture of wikipedia page by API
Php
Api
Wikipedia Api
Disable certificate verification in PHP SoapClient
Php
Soap
Ssl
Https
Soap Client
Using PHP Replace SPACES in URLS with %20
Php
Regex
Url
How to get the server path to the web directory in Symfony2 from inside the controller?
Php
Symfony
Why is $a + ++$a == 2?
Php
Math
Operator Precedence
Converting Object to JSON and JSON to Object in PHP, (library like Gson for Java)
Php
Gson
Json
Embedding youtube video "Refused to display document because display forbidden by X-Frame-Options"
Javascript
Php
Html
Security
Embed
Generating a single Entity from existing database using symfony2 and doctrine
Php
Database
Symfony
Doctrine
How can I fetch all items from a DynamoDB table without specifying the primary key?
Php
Amazon Dynamodb
How can I disable PHP's "easter egg" URLs?
Php
What is the PHP syntax to check "is not null" or an empty string?
Php
Variables
Null
Conditional Statements
PHP: Express Number in Words
Php
Numbers
Words
php const arrays
Php
PHP check if file is an image
Php
Image
File Upload
Getimagesize
What does vendor mean in web file structure?
Php
Html
Web Applications
How to list all months between two dates
Php
Date
Datetime
Convert boolean to integer value php
Php
Integer
Boolean
Type Conversion
How can I handle the warning of file_get_contents() function in PHP?
Php
Function
Exception
Warnings
File Get-Contents
How to remove duplicate values from a multi-dimensional array in PHP
Php
Arrays
Duplicate Data
Upgrading PHP on CentOS 6.5 (Final)
Php
Yum
Centos6
How do I assert the result is an integer in PHPUnit?
Php
Unit Testing
Phpunit
Laravel "At Least One" Field Required Validation
Php
Laravel
Laravel 4
How to get a Youtube channel RSS feed after 2015 April 20 (without v3 API)?
Php
Youtube
Rss
Laravel 5 migration identifier name too long
Php
Laravel
Eloquent
Laravel 5
How can I use HTML tags in a Laravel localization file?
Php
Laravel
Blade
Laravel Localization
'Malformed UTF-8 characters, possibly incorrectly encoded' in Laravel
Php
Json
Laravel 4
Utf 8
Laravel 5.1 - Checking a Database Connection
Php
Mysql
Laravel
utf8_(en|de)code removed from php7?
Php
Utf 8
Mbstring
Remove "Remaining deprecation notices" in Symfony 2.8
Php
Symfony
Testing
Phpunit
Laravel Eloquent display query log
Php
Laravel
Laravel mysql migrate error
Php
Mysql
Laravel
Laravel 5.6
Laravel unique validation on multiple columns
Php
Laravel
Validation
Can't connect to HTTPS site using cURL. Returns 0 length content instead. What can I do?
Php
Curl
Https
No PHP for large projects? Why not?
Php
Scalability
Projects
Session lost when switching from HTTP to HTTPS in PHP
Php
Session
Ssl
Https
jQuery: print_r() display equivalent?
Php
Jquery
Debugging
PHP: Sort an array by the length of its values?
Php
Arrays
Persistent/keepalive HTTP with the PHP Curl library?
Php
Http
Curl
Libcurl
Keep Alive
How can I call a static method from a class if all I have is a string of the class name?
Php
PHP: Split a string in to an array foreach char
Php
Arrays
Split
Passwords
Validation
php SimpleXML check if a child exists
Php
Simplexml
Crop image in PHP
Php
Gd
Crop
Convert plain text URLs into HTML hyperlinks in PHP
Php
Regex
Hyperlink
Preg Replace
What does this mean? "Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM"
Php
How can I check if an array element exists?
Php
How to get the PHP Version?
Php
PHP Configuration: It is not safe to rely on the system's timezone settings
Php
Timezone
What is the best way to create a random hash/string?
Php
Session
Hash
Md5
How do I make a simple crawler in PHP?
Php
Web Crawler
Running a Zend Framework action from command line
Php
Zend Framework
Command Line
How can I employ "if exists" for creating or dropping an index in MySQL?
Php
Mysql
Indexing
Deleting a file after user download it
Php
PHP: Get key from array?
Php
Arrays
Multidimensional Array
Key
Setting POST variable without using form
Php
Html
Post
How to generate lighter/darker color with PHP?
Php
Html
Css
Colors
PHP - strtotime, specify timezone
Php
Date
Timezone
How can I compare two sets of 1000 numbers against each other?
Php
Javascript
Sql
Algorithm
Elegant way to get the count of months between two dates?
Php
Date
nginx 502 bad gateway
Php
Nginx
Fastcgi
Is ini_set('max_execution_time', 0) a bad idea?
Php
Deleting all files from a folder using PHP?
Php
File
Directory
Glob
String comparison using '==' vs. 'strcmp()'
Php
PHP - Check if two arrays are equal
Php
Arrays
Converting string to Date and DateTime
Php
String
Datetime
Date
What is 'YTowOnt9'?
Php
Html
Output
Why is textarea filled with mysterious white spaces?
Php
Html
Forms
Textarea
php - add + 7 days to date format mm dd, YYYY
Php
Datetime
Select records from today, this week, this month php mysql
Php
Mysql
Date
Select
How to add an ORDER BY clause using CodeIgniter's Active Record methods?
Php
Codeigniter
Select
Activerecord
Sql Order-By
UTC Date/Time String to Timezone
Php
Timezone
Utc
How to avoid undefined offset
Php
Replace only first match using preg_replace
Php
Regex
Preg Replace
Convert multidimensional array into single array
Php
Arrays
PHP header redirect 301 - what are the implications?
Php
Redirect
Header
Http Status-Code-301
PHP preg replace only allow numbers
Php
Preg Replace
how to save DOMPDF generated content to file?
Php
File
Pdf Generation
Save
Dompdf
DOMDocument::loadHTML error
Php
Html
Domdocument
Magento - Quote/order product item attribute based on user input
Php
Magento
PHP file listing multiple file extensions
Php
How to check an IP address is within a range of two IPs in PHP?
Php
Ip
Range
php umask(0) what is the purpose
Php
Zend Framework 1 vs Zend Framework 2 performance
Php
Zend Framework
Zend Framework2
PHP Fatal error: Cannot access empty property
Php
Fatal Error
How to do left join in Doctrine?
Php
Doctrine Orm
Zend Framework2
How can I call PHP functions by JavaScript?
Javascript
Php
Function
How to display errors for my MySQLi query?
Php
Mysql
Mysqli
How to format an UTC date to use the Z (Zulu) zone designator in php?
Php
Datetime
Iso8601
Understanding IoC Containers and Dependency Injection
Php
Oop
Inheritance
Dependency Injection
Inversion of-Control
What is a slug?
Php
Codeigniter
Frameworks
Need an array-like structure in PHP with minimal memory usage
Php
Arrays
Memory Management
Out of-Memory
How to define a Laravel route with a parameter that contains a slash character
Php
Laravel
Laravel: getting a single value from a MySQL query
Php
Mysql
Sql
Laravel
Laravel eloquent update record without loading from database
Php
Eloquent
Laravel 5
How I can put composite keys in models in Laravel 5?
Php
Laravel
Model
Composite Primary-Key
ReflectionException: Class ClassName does not exist - Laravel
Php
Laravel
Laravel 5
Laravel Artisan
Go back URL in Laravel 5.1
Php
Url
Blade
Laravel 5.1
mysqli or PDO - what are the pros and cons?
Php
Mysql
Pdo
Mysqli
Database Abstraction
No hint path defined for [mail] Laravel 5.4
Php
Laravel
Email
Laravel 5
PDO::__construct(): Server sent charset (255) unknown to the client. Please, report to the developers
Php
Mysql
Pdo
Custom Laravel validation messages
Php
Laravel
Laravel Validation
laravel Eloquent ORM delete() method
Php
Laravel
Laravel Eloquent
PHP json encode - Malformed UTF-8 characters, possibly incorrectly encoded
Php
Json
Encoding
Utf 8
What is the regex pattern for datetime (2008-09-01 12:35:45 )?
Php
Regex
Datetime
Can PHP detect if its run from a cron job or from the command line?
Php
Cron
PhpMailer vs. SwiftMailer?
Php
Email
Attachment
Phpmailer
Swiftmailer
PHP: How do you determine every Nth iteration of a loop?
Php
Html
Loops
Do SQL connections opened with PDO in PHP have to be closed
Php
Sql
Mysql
Pdo
Assigning the return value of new by reference is deprecated
Php
Php 5.2
DEFINE vs Variable in PHP
Php
Header only retrieval in php via curl
Php
Curl
Header
How to get name of the constant?
Php
Class
Constants
Are abstract class constructors not implicitly called when a derived class is instantiated?
Php
Abstract Class
Hunting cheaters in a voting competition
Php
Spam Prevention
Voting
Best way to remove trailing slashes in URLs with PHP
Php
Can I embed a .png image into an HTML page?
Php
Html
Image
Embed
How do I see the actual XML generated by PHP SOAP Client Class?
Php
Xml
Soap
Features/functions that make your app more professional? Coding hobbyhorses
Php
Difference between double colon and arrow operators in PHP?
Php
Paypal IPN always return "payment_status: Pending" on sandbox?
Php
Paypal Ipn
Paypal Sandbox
How check if a String is a Valid XML with-out Displaying a Warning in PHP
Xml
Simplexml
Php
Libxml2
php: loop through json array
Php
Json
Autoloader for functions
Php
Function
Class
Autoloader
require/include into variable
Php
Fatal error: Call to undefined function socket_create()
Php
PHP: Possible to automatically get all POSTed data?
Php
Forms
Post
Convert string to binary then back again using PHP
Php
Binary
How can I remove file extension from a website address?
Php
Url Rewriting
Friendly Url
PHP cli getting input from user and then dumping into variable possible?
Php
Streaming a large file using PHP
Php
Download
PHP JSON String, escape Double Quotes for JS output
Php
Escaping
Json
Double Quotes
Group array by subarray values
Php
Arrays
Algorithm
Sorting
Doctrine and LIKE query
Php
Mysql
Doctrine Orm
Execute a PHP script from another PHP script
Php
How do I make a redirect in PHP?
Php
Redirect
Http Status-Code-301
Http Redirect
Difference between require, include, require_once and include_once?
Php
Include
Require
Require Once
Request string without GET arguments
Php
Http
Url
Query String
Fatal error: Call to undefined function imap_open() in PHP
Php
Imap
PHP float with 2 decimal places: .00
Php
PHP get actual maximum upload size
Php
Split text string into $first and $last name in php
Php
Use Javascript to access a variable passed through Twig
Php
Javascript
Symfony
Twig
Random float number between 0 and 1.0 php
Php
Random
Floating Point
Integer
instanceof negation
Php
Instanceof
PHP convert string to hex and hex to string
Php
String
Hex
PHP DateTime __construct() Failed to parse time string (xxxxxxxx) at position x
Php
Datetime
Eloquent collections: each vs foreach
Php
Laravel
Eloquent
Laravel Collection
Understanding getChildHtml in Magento
Php
Html
Magento
Angularjs - simple form submit
Javascript
Php
Forms
Angularjs
Warning: preg_replace(): Unknown modifier
Php
Regex
Wordpress
Preg Replace
How to bind parameters to a raw DB query in Laravel that's used on a model?
Php
Mysql
Pdo
Laravel
Laravel 4
Curl and PHP - how can I pass a json through curl by PUT,POST,GET
Php
Post
Curl
Get
Put
How to center the text in PHPExcel merged cell
Php
Phpexcel
How to check not in array element
Php
Arrays
Cakephp
How do I reload a relation collection in laravel?
Php
Collections
Laravel
Laravel 4
Relationship
Laravel Eloquent compare date from datetime field
Php
Mysql
Datetime
Laravel 4
Laravel get class name of related model
Php
Laravel
Eloquent
Seed multiple rows at once laravel 5
Php
Laravel
Schema
Eloquent
Seed
How to setup CRON job to run every 10 seconds in Linux?
Php
Linux
Apache
Cron
Laravel Model Events - I'm a bit confused about where they're meant to go
Php
Laravel
Laravel 5
test if array contains value using PHPUnit
Php
Phpunit
When to generate a new Application Key in Laravel?
Php
Laravel
Laravel 5
Console
Laravel 5.1
Laravel 5.2 redirect back with success message
Php
Laravel
Laravel 5.2
How to set laravel 5.3 logout redirect path?
Php
Laravel
Laravel 5.3
Errors installing Composer on macOS (JIT compilation failed)
Php
Macos
Composer Php
Jit
Php 7.3
How do I check if a directory is writeable in PHP?
Php
Permissions
Directory
MVC tutorial that doesn't rely on a framework?
Php
Model View-Controller
Sample
No Framework
How to convert an image to Base64 encoding
Php
Image
Base64
How to set HTTP header to UTF-8 using PHP which is valid in W3C validator
Php
Html
Http Headers
Could not open input file: artisan
Php
Laravel
Laravel 4
Laravel Artisan
PHP append one array to another (not array_push or +)
Php
Arrays
Function
How to get xdebug var_dump to show full object/array
Php
Xdebug
Tracking the script execution time in PHP
Php
Performance
How to Flatten a Multidimensional Array?
Php
Arrays
Multidimensional Array
Flatten
What's the use of ob_start() in php?
Php
Output Buffering
PHP Readonly Properties?
Php
Programming Languages
How to remove html special chars?
Php
Html Encode
Use PHP to convert PNG to JPG with compression?
Php
Png
Jpeg
Whether to use "SET NAMES"
Php
Python
Mysql
Internationalization
How to alias a function in PHP?
Php
Function
Alias
How to get the home directory from a PHP CLI script?
Php
PHP - How to get the element before the last element from an array?
Php
Arrays
Element
PHP StdErr after Exec()
Php
Exec
Stderr
How does true/false work in PHP?
Php
Timezone conversion in php
Php
Datetime
Timezone
Timestamp
What does \d+ mean in regular expression terms?
Php
Regex
Login to remote site with PHP cURL
Php
Curl
RVM equivalent for PHP?
Php
Ruby
Rvm
Homebrew
Rbenv
php creating zips without path to files inside the zip
Php
Zip
Directory
When to use Final in PHP?
Php
Oop
Final
Difference between "not equal" operators <> and != in PHP
Php
Operators
List all PHP variables
Php
Variables
Global Variables
PHP Fatal Error Failed opening required File
Php
Path
Can't access global variable inside function
Php
Variables
Scope
Global Variables
Can anyone confirm that phpMyAdmin AllowNoPassword works with MySQL databases?
Php
Mysql
Apache
Passwords
Phpmyadmin
"Connect failed: Access denied for user 'root'@'localhost' (using password: YES)" from php function
Php
Mysql
Access Denied
How do I enable error reporting in PHP?
Php
Error Handling
php return 500 error but no error log
Php
Apache
Logging
Error Handling
Howto: Install Imagick (for php) on Ubuntu 11.10
Php
Imagick
Pecl
Xdebug for remote server not connecting
Php
Netbeans
Xdebug
PHP - Ampersand before the variable in foreach loop
Php
Foreach
Reference
The correct way to delete all files older than 2 days in PHP
Php
File
Caching
How can I echo the whole content of a .html file in PHP?
Php
Html
Echo
replace characters that are hidden in text
Php
Regex
Unicode
Check if all values in array are the same
Php
Arrays
PHP if in_array() how to get the key as well?
Php
Arrays
Exception: Serialization of 'Closure' is not allowed
Php
Exception
Serialization
Closures
Log caught exception with stack trace
Php
Exception
Logging
Laravel - Eloquent or Fluent random row
Php
Laravel
Random
Eloquent
Fluent
How do I compare two DateTime objects in PHP 5.2.8?
Php
Datetime
MySQL query to get column names?
Php
Mysql
How to update specific key's value in an associative array in PHP?
Php
Arrays
Associative Array
Is it possible to hide/encode/encrypt php source code and let others have the system?
Php
Encryption
Obfuscation
PhpStorm find all deprecated usages in the project
Php
Deprecated
Phpstorm
Doctrine Entities and business logic in a Symfony application
Php
Symfony
Doctrine Orm
Domain Driven-Design
Laravel - Check if @yield empty or not
Php
Laravel
Laravel 4
SOAP-ERROR: Parsing WSDL: Couldn't load from - but works on WAMP
Php
Soap
Laravel use same form for create and edit
Php
Forms
Laravel
Laravel change input value
Php
Input
Laravel 4
How to manually create a new empty Eloquent Collection in Laravel 4
Php
Laravel
Laravel 4
Eloquent
PSR-2 standard for long if-conditions
Php
Convention
How to Validate Google reCaptcha on Form Submit
Php
Html
Recaptcha
Laravel-5 how to populate select box from database with id value and name value
Php
Laravel
Laravel 5
Blade
How to check if row is soft-deleted in Eloquent?
Php
Laravel
Eloquent
Laravel 5.1
Soft Delete
Get Header Authorization key in laravel controller?
Php
Laravel
Laravel 5
Authorization
How to get First and Last Day of Previous Month with Carbon - Laravel
Php
Laravel
Date
Php Carbon
Artisan migrate could not find driver
Php
Laravel
How to easily consume a web service from PHP
Php
Web Services
Visual Studio
Wsdl
How to implement a web scraper in PHP?
Php
Screen Scraping
Chaining Static Methods in PHP?
Php
Oop
Method Chaining
Is it possible to redirect post data?
Php
Apache
.Htaccess
Why should I use templating system in PHP?
Php
Smarty
Template Engine
PHP vs template engine
Php
Templates
Sorting an associative array in PHP
Php
Arrays
Sorting
create superglobal variables in php?
Php
How can I have a 64-bit integer in PHP?
Php
64 Bit
Integer
Parsing Huge XML Files in PHP
Php
Xml
Parsing
Large Files
Dmoz
Setup HTTP expires headers using PHP and Apache
Php
Performance
Apache
Http
Ternary operator and string concatenation quirk?
Php
Ternary Operator
String Concatenation
Is there garbage collection in PHP?
Php
Memory Management
Garbage Collection
Proper Repository Pattern Design in PHP?
Php
Database
Laravel
Repository
Repository Pattern
Allowed memory size of 33554432 bytes exhausted (tried to allocate 43148176 bytes) in php
Php
Memory Management
Memory Limit
Passing an array to a query using a WHERE clause
Php
Mysql
Getting ’ instead of an apostrophe(') in PHP
Php
Utf 8
Character Encoding
Mojibake
Favourite Kohana Tips & Features?
Php
Kohana
Kohana 3
Kohana Orm
Kohana 3.3
PHP: How can I generate a HmacSHA256 signature of a string
Php
Hmac
PHP file_exists and wildcard
Php
Wildcard
How to write a stored procedure using phpmyadmin and how to use it through php?
Php
Stored Procedures
Mysql
Phpmyadmin
PHP script to render a single transparent pixel (PNG or GIF)
Php
Image Processing
Can you use static constants inside classes in PHP?
Php
Class
Variables
Syntax
Constants
PHP session without cookies
Php
Session
Cookies
How to parse SOAP XML?
Php
Xml
Soap
How to count non-empty entries in a PHP array?
Php
Arrays
Count
What is a difference between a method and a function?
Php
PHP errors NOT being displayed in the browser [Ubuntu 10.10]
Php
Apache
Apache2
Lamp
Ubuntu 10.10
Get next element in foreach loop
Php
Foreach
"Error 404 Not Found" in Magento Admin Login Page
Php
Magento
Opposite of array_intersect?
Php
Arrays
Array Intersect
Detect HTML tags in a string
Php
How to get complete current url for Cakephp
Php
Cakephp
Increase max execution time for php
Php
.Htaccess
Scripting
Php Ini
What is the difference between isSaleable() and isAvailable()?
Php
Magento
Product
Stock
Object of class DateTime could not be converted to string
Php
Mysql
Datetime
Insert
Check file extension in upload form in PHP
Php
File Upload
How to use PHP with Visual Studio
Php
Visual Studio
PHPExcel and Text Wrapping
Php
Mysql
Database
Phpexcel
Select entries between dates in doctrine 2
Php
Date
Doctrine Orm
Between
Query Builder
PHP mysql insert date format
Php
Mysql
Date
Insert
PDO bindParam vs. execute
Php
Pdo
Symfony2 - Force file download
Php
Symfony
Header
Download
How do I count occurrence of duplicate items in array
Php
Arrays
Count
How to show an alert box in PHP?
Php
Javascript
Html
Alert
In PHP, how can I add an object element to an array?
Php
Arrays
Object
Abstract Class vs. Interface
Php
Interface
Abstract Class
Conceptual
What is the Symfony firewall doing that takes so long?
Php
Symfony
Symfony 2.2
How Follow the Don't Repeat Yourself Principle When Consuming My Own Laravel API?
Php
Laravel
Laravel 4
Rest
How to get info on sent PHP curl request
Php
Web Services
Curl
Automatic values for updated_at, created_at in Doctrine
Php
Doctrine Orm
Are there tuples in PHP?
Php
Tuples
PHP exec() vs system() vs passthru()
Php
Command
Exec
Install dependency (doctrine/dbal) on composer laravel
Php
Laravel
Laravel 4
Composer Php
nohup:ignoring input and appending output to 'nohup.out'
Php
Linux
Centos
Centos6
Centos5
How to filter a two dimensional array by value
Php
Arrays
Access to Laravel 5 app locally from an external device
Php
Laravel
Laravel 5
Virtualhost
Typecasting vs function to convert variable type in PHP
Php
Casting
Handling expired token in Laravel
Php
Laravel
Laravel 5
AngularJS POST Fails: Response for preflight has invalid HTTP status code 404
Javascript
Php
Angularjs
Ajax
Cors
PHP Deprecated: Methods with the same name
Php
PHP Unset Session Variable
Php
Session
Get an image extension from an uploaded file in Laravel
Php
Laravel
Filesystems
Full Secure Image Upload Script
Php
Image
Security
File Upload
Upload
Laravel eloquent get relation count
Php
Laravel
What is the difference between fopen modes "r+" and "rw+" in PHP?
Php
Fopen
How to Format Laravel Blade Codes in Visual Studio Code?
Php
Laravel
Visual Studio-Code
Laravel Blade
Ajax LARAVEL 419 POST error
Php
Jquery
Ajax
Laravel
Visual Studio Code: Unable to locate phpcs
Php
Visual Studio-Code
How can I solve "laravel/horizon v1.1.0 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system"?
Php
Laravel
Composer Php
Laravel 5.5
Laravel Horizon
Create Word Document using PHP in Linux
Php
Linux
Ms Word
Document
PHP 5 Reflection API performance
Php
Performance
Reflection
How to distinguish command-line and web-server invocation?
Php
Command Line-Interface
Matching an IP to a CIDR mask in PHP 5?
Php
Cidr
Does sleep time count for execution time limit?
Php
Sleep
Execution
Max
Are there pointers in php?
Php
Pointers
Using Mysqli bind_param with date and time columns?
Php
Mysql
Mysqli
how to redirect STDOUT to a file in PHP?
Php
Stdout
Stdin
Read pdf files with php
Php
Pdf
Nginx - Customizing 404 page
Php
Nginx
Http Status-Code-404
How to clear browser cache with php?
Php
Browser
Caching
Change an associative array into an indexed array / get an Zend_Table_Row_Abstract as non-associative
Php
Zend Framework
Associative Array
Associative
htmlentities in PHP but preserving html tags
Php
Html
String
Replace
Html Entities
Difference between period and comma when concatenating with echo versus return?
Php
Syntax
Compare
Concatenation
How to switch layout files in Zend Framework?
Php
Zend Framework
Layout
Zend View
Zend Layout
How to access PHP variables in JavaScript or jQuery rather than <?php echo $variable ?>
Php
Javascript
Jquery
"Fatal error: Cannot redeclare <function>"
Php
Include
Can I include code into a PHP class?
Php
Oop
Class
What's the best practice to set html attribute via PHP?
Php
Html
How can I use in_array if the needle is an array?
Php
Arrays
Search
Compare
PHPUnit Mock Objects and Static Methods
Php
Unit Testing
Mocking
Doctrine
Phpunit
How to declare abstract method in non-abstract class in PHP?
Php
Abstract Function
When will __destruct not be called in PHP?
Php
Destructor
Force freeing memory in PHP
Php
Garbage Collection
How to secure phpMyAdmin
Php
Mysql
Security
Ubuntu
Phpmyadmin
How to sort files by date in PHP
Php
convert month from name to number
Php
Time
mysql_escape_string VS mysql_real_escape_string
Php
Escaping
Mysql Real-Escape-String
Remove new lines from string and replace with one empty space
Php
Regex
String
Best practices to test protected methods with PHPUnit
Php
Unit Testing
Phpunit
How to call a function from a string stored in a variable?
Php
Dynamic Function
When should I use Memcache instead of Memcached?
Php
Memcached
'AND' vs '&&' as operator
Php
Operators
Operator Precedence
PHP & localStorage;
Php
Html
Local Storage
How do search engines find relevant content?
Php
Parsing
Screen Scraping
Relevance
Read a plain text file with php
Php
File
Text
The ultimate clean/secure function
Php
Security
Xss
Sql Injection
check if file exists in php
Php
File Exists
$_SERVER["REMOTE_ADDR"] gives server IP rather than visitor IP
Php
Creating DateTime from timestamp in PHP < 5.3
Php
Datetime
Timestamp
Php 5.2
Quickest Way to Read First Line from File
Php
File
php:: how long to tmp files stay?
Php
Temp
Tmp
PHP Can static:: replace self::?
Php
Static Methods
Static Members
array_map not working in classes
Php
Arrays
Class
Function
Array Map
header('HTTP/1.0 404 Not Found'); not doing anything
Php
Header
Http Status-Code-404
What does the WordPress "_e()" function do?
Php
Wordpress
How to get data from Magento System Configuration
Php
Magento
how to make New lines in a cell using phpexcel
Php
Phpexcel
PHP - cannot use a scalar as an array warning
Php
Arrays
Zend Framework
Warnings
Scalar
How do you create a .gz file using PHP?
Php
Compression
Gzip
Reference: What is a perfect code sample using the MySQL extension?
Php
Mysql
Security
Sql Injection
IP address storing in MySQL database using PHP
Php
Mysql
Database
Ip
Field
How to reverse htmlentities()?
Php
Html Encode
Check if two PHP datetime objects are set to the same date ( ignoring time )
Php
Datetime
How do I use PHPUnit with CodeIgniter?
Php
Unit Testing
Codeigniter
Phpunit
How to extend access token validity since offline_access deprecation
Php
Facebook Graph-Api
Facebook Php-Sdk
Oauth 2.0
Facebook Oauth
PHP constructor with a parameter
Php
Constructor
Service Applications and Google Analytics API V3: Server-to-server OAuth2 authentication?
Php
Google Api
Oauth 2.0
Google Analytics-Api
Jwt
Why is json_encode adding backslashes?
Php
Json
Proper way to declare multiple vars in PHP
Php
Variables
PHP - count specific array values
Php
Arrays
Count
How to install jQuery with Composer?
Php
Symfony
Composer Php
PHP Fatal error: Class 'PDO' not found
Php
Mysql
Cakephp
Web Applications
How to increase memory limit for PHP over 2GB?
Php
Memory Limit
how to change php version in htaccess in server
Php
.Htaccess
Version
Is it recommended to store PHP Sessions in MemCache?
Php
Memcached
How to dump SoapClient request for debug?
Php
Soap
How to develop and include a Composer package?
Php
Composer Php
PHP FPM - check if running
Php
Getting GET "?" Variable in Laravel
Php
Laravel
Rest
How to get first day of current month in php?
Php
Installing PHP Zip Extension
Php
Centos
Zip
Pear
Php Extension
Reading JSON POST using PHP
Php
Json
Post
How to check if an email address is real or valid using PHP
Php
Email
Email Verification
Email Bounces
Keep getting a "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup" when attempting to google plus login on my web app
Javascript
Php
Google Api
Google Plus
Non-static method ..... should not be called statically
Php
Static
Non Static
Laravel nested relationships
Php
Mysql
Database
Laravel
php var_dump() vs print_r()
Php
Arrays
Detect encoding and make everything UTF-8
Php
Encoding
Utf 8
Character Encoding
Laravel Eloquent: Return Array key as the fields ID
Php
Laravel
Eloquent
How to send multiple files in postman ReSTful web service?
Php
Web Services
Rest
File Upload
Postman
Run raw SQL in migration
Php
Mysql
Sql
Laravel
Laravel 4
How to unit test PHP traits
Php
Unit Testing
Phpunit
Traits
"Call to undefined function mysql_connect()" after upgrade to php-7
Php
Debian
Php 7
PHP Compile Error: "Cannot use empty array elements in arrays"
Php
Arrays
Laravel 5
Storage in laravel says symlink - no such file
Php
Laravel
Input elements should have autocomplete attributes
Javascript
Php
Jquery
Google Chrome
Which PHP opcode cacher should I use to improve performance?
Php
Performance
Caching
change mime type of output in php
Php
Xml
Mime Types
How do I install cURL on Windows?
Php
Windows
Curl
Windows Xp
Installation
Compile regex in PHP
Php
Regex
Is there a way to find out how "deep" a PHP array is?
Php
Arrays
Associative Array
Increase days to php current Date()
Php
Date
Days
Decode gzipped web page retrieved via cURL in PHP
Php
Encoding
Gzip
Decoding
php: convert milliseconds to date
Php
Datetime
Time
best way to determine if a URL is an image in PHP
Php
Image
Url
Why use PHP OOP over basic functions and when?
Php
Oop
count lines in a PHP project
Php
Count
Line
Can you create instance properties dynamically in PHP?
Php
Design Patterns
Oop
Class
What does a successful MySQL DELETE return? How to check if DELETE was successful?
Php
Mysql
How to clear previously echoed items in PHP
Php
Output
Echo
Output Buffering
Check whether image exists on remote URL
Php
Url
Image
Curl
How to know if MySQLnd is the active driver?
Php
Mysql
Mysqlnd
How can I check if a user is logged-in in php?
Php
Authentication
Session
Session State
How to specify the parent query field from within a subquery in MySQL?
Php
Mysql
Subquery
Parent Child
checking if a number is divisible by 6 PHP
Php
Modulus
How do I move an array element with a known key to the end of an array in PHP?
Php
Arrays
Sorting
Round minute down to nearest quarter hour
Php
Date
Time
Floor
can I pass arguments to my function through add_action?
Php
Wordpress
How to validate phone number using PHP?
Php
Regex
PHP - exit or return which is better?
Php
Terminate
Iterable objects and array type hinting?
Php
Iterator
Type Hinting
How to squeeze error message out of PDO?
Php
Error Handling
Pdo
php can't connect to mysql with error 13 (but command line can)
Php
Apache
How to override the path of PHP to use the MAMP path?
Php
Macos
Shell
Path
Mamp
php foreach continue
Php
Foreach
Continue
PHP PDF template library with PDF output?
Php
Pdf
Odt
Interpolation (double quoted string) of Associative Arrays in PHP
Php
Associative Array
PHP get start and end date of a week by weeknumber
Php
Date
How to redirect to another page using PHP
Php
Is time() a good salt?
Php
Security
Hash
Passwords
Salt
Programmatically add product to cart with price change
Php
Magento
How to remove HTTP headers from CURL response?
Php
Curl
Http Headers
CodeIgniter Active Record not equal
Php
Codeigniter
Make XAMPP / Apache serve file outside of htdocs folder
Php
Apache
Xampp
Server Configuration
Accurate way to measure execution times of php scripts
Php
?: operator (the 'Elvis operator') in PHP
Php
Conditional Operator
Language Construct
Call method by string?
Php
Oop
facebook Uncaught OAuthException: An active access token must be used to query information about the current user
Php
Facebook
Api
Access Token
Detecting image type from base64 string in PHP
Php
Base64
Image Formats
Finding cartesian product with PHP associative arrays
Php
Algorithm
Associative Array
Cartesian Product
How to make strpos case insensitive
Php
Strpos
get_instance() in Codeigniter: Why assign it to a variable?
Php
Codeigniter
Singleton
Reference
How to check if a file exists from a url
Php
File
Curl
Fsockopen
File Exists
How to search in an array with preg_match?
Php
Regex
Arrays
Preg Match
How to install PHP mbstring on CentOS 6.2
Php
Linux
Centos
Mbstring
Abstract constants in PHP - Force a child class to define a constant
Php
Constants
Abstract
Get single row result with Doctrine NativeQuery
Php
Doctrine Orm
Add a new line to a CSV file
Php
Csv
Initialize an Associative Array with Key Names but Empty Values
Php
Arrays
Initialization
Associative
phpMyAdmin Duplicate Table
Php
Database
Phpmyadmin
Redirecting to previous page after login? PHP
Php
Authentication
Redirect
Difference between composer prefer-dist and prefer-source?
Php
Composer Php
PHP: Fastest way to handle undefined array key
Php
Performance
Flush all cache in Laravel 4
Php
Laravel
Image links broken in Gmail because of google's Image proxy
Php
Email
Gmail
Laravel Eloquent get results grouped by days
Php
Mysql
Sql
Laravel
Laravel 4
The date/time format used in HTTP headers
Php
Http
Date
Rfc
PHP Manager for IIS fails to install
Php
Windows 10
Web Platform-Installer
Php Manager
What is the difference between isset() and __isset()?
Php
Laravel Eloquent how to use between operator
Php
Sql
Laravel
Laravel 4
Eloquent
Disable PHPStorm new file branding
Php
Codeigniter
Phpstorm
How to post data in PHP using file_get_contents?
Php
Http
Http Post
File Get-Contents
How to use multiple databases in Laravel
Php
Mysql
Laravel
Database
List of All Locales and Their Short Codes?
Php
Internationalization
Locale
disable csrf in laravel for specific route
Php
Laravel
Laravel 5
Laravel 5.1
fetch patch request is not allowed
Javascript
Php
Ruby on-Rails
Fetch Api
What is the concept of Service Container in Laravel?
Php
Laravel
Design Patterns
Laravel 5
Laravel 5.2
Enabling 'strict_types' globally in PHP 7
Php
Apache
Php 7
Variable Types
Laravel UUID generation
Php
Laravel
Uuid
Can composer generate the `composer.lock` without actually download the packages?
Php
Composer Php
How can I get at the matches when using preg_replace in PHP?
Php
Regex
Html Parsing
Preg Replace
glob() - sort array of files by last modified datetime stamp
Php
Arrays
Sorting
Filemtime
PHP Session data not being saved
Php
Session
Working with large numbers in PHP
Php
Bignum
How do I dynamically invoke a class method in PHP?
Php
Callback
How to embed YouTube videos in PHP?
Php
Html
Video
Youtube
Youtube Api
Is PHP thread-safe?
Php
Multithreading
Thread Safety
Possible Values For: PHP_OS
Php
Superglobals
Get the files inside a directory
Php
Is there any way to show, or throw, a PHP warning?
Php
Warnings
Type casting for user defined objects
Php
Casting
How to prevent code injection attacks in PHP?
Php
Code Injection
.htaccess 301 redirect of single page
Php
.Htaccess
Seo
Http Status-Code-301
Getting the screen resolution using PHP
Php
Server
Client
Resolution
Detect
Write CSV To File Without Enclosures In PHP
Php
Csv
Quotes
Quoting
PHP myAdmin - Change Field Order (Move Up Or Down)
Php
Mysql
Phpmyadmin
PHP: Is mysql_real_escape_string sufficient for cleaning user input?
Php
Security
How can I emulate a get request exactly like a web browser?
Php
Curl
Convert a String into an Array of Characters
Php
Arrays
String
XDebug or Zend Debugger?
Php
Debugging
Check if string is just white space?
Php
What security problems could come from exposing phpinfo() to end users?
Php
Security
Testing if property exists
Php
'At' symbol before variable name in PHP: @$_POST
Php
Error Handling
Operators
What is the format for e-mail headers that display a name rather than the e-mail?
Php
Header
Email
PHP date(): minutes without leading zeros
Php
Date
Format
Create new variables from array keys in PHP
Php
Arrays
Variables
How can I generate a 6 digit unique number?
Php
Random
JSON encode MySQL results
Php
Mysql
Json
What is the most accurate way to retrieve a user's correct IP address in PHP?
Php
Ip Address
How to get time difference in minutes in PHP
Php
Date
Time
Minute
How do I read any request header in PHP
Php
Http Headers
Is there something in PHP equivalent to LINQ in C#?
Php
Linq
Language Comparisons
php.ini reload in php-cli
Php
Php Ini
Doing calculations in MySQL vs PHP
Php
Mysql
Performance
Maintainability
Why does PDO print my password when the connection fails?
Php
Mysql
Security
Connection
Pdo
Check if number is decimal
Php
Function
Decimal
convert php date to mysql format
Php
Mysql
Setting timezone to UTC (0) in PHP
Php
Date
Timezone
Utc
Apple Push Notification with Sending Custom Data
Php
Iphone
Apple Push-Notifications
Turning multidimensional array into one-dimensional array
Php
Arrays
Multidimensional Array
PHP - If/else, for, foreach, while - without curly braces?
Php
If Statement
Foreach
Curly Braces
How to check, if a php string contains only english letters and digits?
Php
Regex
How to replace multiple items from a text string in PHP?
Php
String
Str Replace
Initializing Multiple PHP Variables Simultaneously
Php
phpMailer - How do you Remove Recipients
Php
Email
Phpmailer
How to retrieve all Variables from a Twig Template?
Php
Symfony
Twig
Template Engine
Removing black borders 4:3 on youtube thumbnails
Php
Javascript
Jquery
Youtube Api
Optional Whitespace Regex
Php
Regex
Preg Match
Removing Whitespace
What is /var/www/html?
Php
Cakephp
Var
How to parse JSON and access results
Php
Json
Curl
Splitting strings in PHP and get the last part
Php
String
"vertical" regex matching in an ASCII "image"
Php
.Net
Regex
Perl
Pcre
How can I with mysqli make a query with LIKE and get all results?
Php
Sql
Mysqli
Sql Like
MySql Error: 1364 Field 'display_name' doesn't have default value
Php
Mysql
MySQL Join two tables with comma separated values
Php
Mysql
Left Join
Group Concat
Find in-Set
Simpler way to check if variable is not equal to multiple string values?
Php
If Statement
Conditional Statements
A YAML file cannot contain tabs as indentation
Php
Symfony
Routing
Routes
How to remove both .php and .html extensions from url using NGINX?
Php
Html
Nginx
Warning: require_once(): http:// wrapper is disabled in the server configuration by allow_url_include=0
Php
Include
WAMP Cannot access on local network 403 Forbidden
Php
Mysql
Apache
Wampserver
PHP: How to check if a date is today, yesterday or tomorrow
Php
Date
Time
Strtotime
Artisan Error: Failed to listen on localhost:8000
Php
Laravel Artisan
Blade: escaping text and allowing new lines
Php
Laravel
Escaping
Blade
Destructuring assignment in php for objects / associative arrays
Php
Destructuring