Use this tag for version-specific issues relating specifically to PHP 7.3.Use with the [php] tag
Questions tagged [php-7.3]
319 questions
0
votes
2 answers
PHP 7+ Logging class Magic Constants
I just wrote a little "logging" class and want to ask a question about the usage of this class, how i could make it easier to use.
For example:
$log = new Log();
$log->Error("You have an error!", __FILE__, __CLASS__, __FUNCTION__, __LINE__);
This…

Thomas
- 35
- 4
0
votes
1 answer
Apache 2.4 + Multiple PHP on Windows XP with One Core API
Apologies for the long read, but I think it makes sense to include as much detail as I can upfront, rather than waiting for people to ask for the various configs, logs, etc.
I have an old PC running XP with the One Core API…

Scruff
- 111
- 5
0
votes
1 answer
Print second Saturday of current month?
I want to print the second Saturday of current month.
My code is:
$now=date('d-m-Y');
$secondsat=date('d-m-Y',strtotime('second saturday of M Y'));
echo $now."
", $secondsat."
"; Output is: 13-02-2019 08-02-2019 means it print second…
", $secondsat."
"; Output is: 13-02-2019 08-02-2019 means it print second…

Tanuj
- 3
- 3
0
votes
1 answer
install oci8 on php7.3
I am trying to compile from source on centos 7.5, oci8-2.2 but it is giving me a huge failed summary report.
=====================================================================
TEST RESULT…

shorif2000
- 2,582
- 12
- 65
- 137
0
votes
1 answer
How to install pear/pecl/xdebug for php using macports
I have a PHP setup using macports, on MacOS Mojave. I have just upgraded from 5.6 to 7.3; everything is working fine except that I need xdebug, which requires pecl, which requires pear, and I don't have a working copy of pear any more.
I've found…

xgretsch
- 1,294
- 13
- 15
0
votes
1 answer
Different version of Php 7.x
I have different version of Php on my laravel homestead. If i lunch php -v on command bash i have active php 7.3 but if i create and index.php with phpinfo() i have this 'PHP Version 7.2.14-1+ubuntu18.04.1+deb.sury.org+1'
php -v
HP…

palla451
- 53
- 1
- 8
0
votes
1 answer
Why does my PHP error controller work with PHP 5, but not PHP 7?
I'm migrating my project from PHP 5 to PHP 7.3, I have made the changes for the decrypted function with alternative functions. But am facing issue with the one controller file.
The same code works for PHP5 version, But when am trying to execute same…

Gajanan Kolpuke
- 155
- 1
- 1
- 14
0
votes
1 answer
uncaught SoapFault Exception : failed to load external
I'm very new in PHP+SOAP, and now I need to pass some data to the given url using it, unfortunately I've receive this error
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from…

s.young
- 25
- 2
- 7
0
votes
1 answer
Laravel view slash notation is not working
I was developing a laravel application on windows and some of my team members decided to use slash notation for their views for example return view('academics\index');, I thought it would throw an error but it worked so I never bothered them to…

chinloyal
- 1,023
- 14
- 42
0
votes
0 answers
How to get html code while between two br tags in xpath
I am separating my content for which I am storing in a database table and having it be displayed in TinyMCE (javascript) with HTML5. The content that is in each row, is currently in a descending order, where each date that is being displayed is…

Barry Dick
- 161
- 3
- 16
0
votes
2 answers
Using if(isset($_POST[''])) method to see if the user enter the data so in will store them , and if not so will not save when i refresh the page
i want to use if(isset($_POST['name'])) loop to test if user enter data so it will store it in database and if not so dont store it even when i refresh the page!!
i've tried to use if(isset($_POST['name'])) loop to test if user enter data so it will…

Naim Blg
- 131
- 1
- 3
- 12
0
votes
1 answer
Passing multiple variables by reference in PHP 7.3 extension
I'm trying to pass multiple parameters (type ZVAL) by reference in a php extension function. But I'm not getting the changed value. I followed the suggestions from the following post. Passing a variable by reference into a PHP7 extension
But it…

Antarus
- 1,573
- 2
- 15
- 32
-1
votes
1 answer
PPA repository to install deprecated php7.3 on Ubuntu
I need to deploy a PHP application that was built on PHP 7.3` in 2019.
It is dockerized and the Dockerfile tries to install it from a well know repository:
RUN apt-add-repository -y ppa:ondrej/php
While doing so, it emits the following error…

Akhmed
- 1,141
- 4
- 21
- 49
-1
votes
1 answer
is PHP 7.3 is compatible with RHEL 8.3?
As per official documentation of Red Hat Enterprise Linux 8 Application Streams Life Cycle,
PHP 7.4 is available on RHEL 8.3, But I want to check compatibility of PHP 7.3 with RHEL 8.3.
Can someone confirm PHP 7.3 is available on RHEL 8.3

saw
- 7
- 3
-1
votes
1 answer
yii\base\ErrorException Use of undefined constant logo - assumed 'logo' (this will throw an Error in a future version of PHP)
I installed web apps for Library Management, when I try to upload logo for the library, it give me error like this
Unknown Property – yii\base\UnknownPropertyException
Use of undefined constant logo - assumed 'logo' (this will throw an Error in a…

Hidayat Taufik
- 46
- 7