I have a Apple M1 arm64 I tried to install PHP 7.4 via brew Then i tried with valet Any ideas? ...
I have a Apple M1 arm64 I tried to install PHP 7.4 via brew Then i tried with valet Any ideas? ...
I have a php script and need to make this code line compatible to php8.0: if ((is_array($key) && is_array($value)) || (strlen($key) > 0 &a ...
TL;DR Technology moving on and what was deprecated is obsolete now. But fear not, Docker here to solve the problem. See the answer below to see how I ...
I just upgraded my server's PHP version to PHP 7.4.1 and now getting this error: Notice: Trying to access array offset on value of type bool in Wha ...
I need to add days to a date. I have been happily using the following and it's worked up until the end of the year: date('o-m-d', strtotime("{$start_ ...
I want to install Xdebug on my Mac with M1. I use PHP 7.4.32 because of the project I attend. I cannot switch the PHP version. When I try to install ...
tried this code on two different WordPress sites. It was working on the first site. After I moved the template completely to my new site, I got this e ...
Ubuntu 22.04 includes OpenSSL 3 which is not compatible with PHP 7.4.33. Building PHP 7.4.33 from source in a custom path on Ubuntu 22.04 with SSL sup ...
I did some simple test: reading csv file with 100 000 rows (10 columns) filled up by random English words. Script opened file, and put every rows to a ...
I'm doing my own website and i'm using a PDO library here. I have somes library working fine but this one for any reason cannot be "detected" Files i ...
How can I solve this issue (undefined offset: 1 at line 30): I want to upgrade to php8 but gets this in php 7,4 (php8 displays a slightly different ...
I'm using php7.4 in my ubuntu system, now I have to install php8.1 along with the php7.4 php8.1 was installed successfully, but how can I install PHP ...
This has nothing to do with Frameworks because it is an external project, I am currently developing to learn, some things about database management or ...
I have code like this: $sTestString = "BEGIN:VEVENT"; $sPattern = '^(BEGIN|END)\:(.+)$'; $sRegex_opt = 'mib'; mb_ereg_search_init( $sTestString ); pr ...
I have urls that look like this ($_GET): http://localhost/index.php?search=param&other1=param1&other2=param2&other3=param3&other4= ...
. Answers to this question are eligible for a +50 reputation bounty. Bounty gr ...
I used the following script to test something that failed in one of my Yii2 projects: And here are the results for a few back to back runs: Serv ...
Hello I'm upgrading a script my website uses from php 5.4 to php 7.4 and I have some issues with it: I need to switch it from ereg_replace to preg_rep ...
I am working with laravel 7 and after clone my existing repo which was created via windows operating system and right now i am using macOS. After clon ...
I have Apache2 running on a Debian 11 box (x64). It was installed with an Openmediavault ISO, with nginx and PHP 7.4 installed already (for the web UI ...