4 arrays given. I want to group the arrays by it's value if they have the same value on different positions and sum the integer value if grouped. $arr1 = ["101"
What are the differences between die() and exit() functions in PHP? I think both have the same functionality, but I doubt there is something different in both.
So I am using Wasabi for object storage in my Laravel API, but after I got the upload working, now I can't get the download to work. I am using this package: ht
I created a basic PHP webpage to generate a timesheet of the monthly working hours of employees of a company. The work hours and the other details in the table
I got this message error: On stack trace I cant find the file that produces it. I'm using symfony 5 and doctrine. Undefinied class constant 'JSON_ARRAY' I sear
I need to create a search input inside my symfony 6.0 project. I'm using PHP 8.1.5 In the old days i used the following syntax with annotations : /** * @ORM\Ta
Sorry if I'm not good at formulating questions or if this isn't a good question, but I've been trying for days and getting no progress on this and I'm ready to
I have a function that work good in php 7 but in php 8.0.11 has warning $orders->result = array_map('reset', $orders->result); E_WARNIN
For example [['Inflammation'],['Noxious stimuli cause resident effector cells to secrete cytokines<br>Cytokines ↑ vascular dilation & permeabili
I can't speak English well and I use google translate. If there is something you do not understand, please ask. My problem is this: For example, in the code blo
I am trying to add new woocommerce custom product type from my plugin. I just have a simple construct in the class that extend WC_Product namespace giftbox\mode
My x_optimize_php.sh file is below #!/bin/bash # This file will make sure that will set the max processes and spare processes # according to the details pr
SQLSTATE[HY000] [1049] Unknown database 'laravel' (SQL: select * from information_schema.tables where table_schema = laravel and table_name = migrations and ta
I am trying to make sure my php file is reading my js file and when I click my decrease button, my console says Uncaught ReferenceError: decrease is not defined
Obligatory - I know this question has been asked before, but answers back then relate to the old mongoldb driver, I'm using the pecl mongodb php library. The ai
Hello I need to connect an application with PHP 8.0 to Odoo. And I get the following error. PHP XMLRPC library is not installed How can I install this library
Setup & Problem There are two entities in my Symfony project (Entries and Persons) that are associated by a many-to-many relationship. An Entry (extended in
I have encrypted parameters in my url, for example: Encrypted example.com/?auth= *****"encrypted data here including other parameters like &username=hellowo
I created a new controller with a new route. I dump generate my new fos_js-routes.json with this command : php bin/console fos:js-routing:dump My new json was
When using curl on my server to access my other servers, I get this response: curl: (60) SSL certificate problem: certificate has expired More details here: htt