Closed LeoShivas closed 4 years ago
Thanks for your full report (I appreciate a lot). As I've limited internet connection for a week, I'll check it in 7 days.
@LeoShivas You're right : oci8 extension is not yet supported by bartlett/php-compatinfo-db project. I'll add it and publish soon a new version that will also support PHP 7.3.19 and PHP 7.4.7
@LeoShivas Oci8 support has just been added to bartlett/php-compatinfo-db.
Please test it and report any issue you may find before upcoming next release 2.15 (planned in next days). Thanks !
Without reply, I'll release the new version 2.15 of compatinfo-db in 2 days (July 1st).
Without reply, I'll release the new version 2.15 of compatinfo-db in 2 days (July 1st).
@llaville , I'm very glad that you had commited, but I don't master well how I can try your commit. How can I do ? With Composer ? How ?
I tried this :
mkdir phpcompatinfo_test
cd phpcompatinfo_test
composer clear-cache
composer require bartlett/php-compatinfo-db:2.x-dev#a47f461332624ee9222132de42c98d9b55d70ae4 bartlett/php-compatinfo:5.2.x-dev#018b5d9035f207748854a7149ddc69dd988d60ed
./vendor/bartlett/php-compatinfo/bin/phpcompatinfo analyser:run ../myPhpApp > ../tmp3.txt
The oci_* functions are stil recognized as 'user' function :
oci_bind_by_name 1 user 4.0.0
oci_cancel 1 user 4.0.0
oci_commit 1 user 4.0.0
oci_connect 1 user 4.0.0
oci_error 6 user 4.0.0
oci_execute 1 user 4.0.0
oci_fetch_all 1 user 4.0.0
oci_fetch_array 2 user 4.0.0
oci_fetch_object 1 user 4.0.0
oci_new_descriptor 1 user 4.0.0
oci_num_fields 1 user 4.0.0
oci_num_rows 1 user 4.0.0
oci_parse 1 user 4.0.0
oci_pconnect 1 user 4.0.0
oci_rollback 1 user
I think that I certainly misunderstodd how to use your last commit...
mkdir phpcompatinfo_test
cd phpcompatinfo_test
composer require bartlett/php-compatinfo
composer.json
file and add the constaint as follow {
"require": {
"bartlett/php-compatinfo": "^5.2",
"bartlett/php-compatinfo-db": "2.x-dev"
}
}
composer update
you should have something like
Package operations: 0 installs, 1 update, 0 removals
- Removing bartlett/php-compatinfo-db (2.14.0)
- Installing bartlett/php-compatinfo-db (2.x-dev 1f1ee22): Cloning 1f1ee223ba from cache
vendor/bartlett/php-compatinfo-db/bin/compatinfo-db bartlett:db:init
And verify that you have the latest version built / installed with command :
vendor/bin/phpcompatinfo --version
you should have something like that with current timestamp
phpCompatInfo version 5.2.3 DB version 2.x-dev@1f1ee22 built Jun 30 2020 xx:xx:xx UTC
@llaville good work !
This is the compatinfo-db bartlett:db:init
step I missed.
I confirm you code works like a charm :
....
C newrelic user 4.0.0
oci8 oci8 1.4.0 4.3.9
C opendkim user 4.0.0
....
And the oci_* functions :
....
oci_bind_by_name 1 oci8 1.1 4.3.0
oci_cancel 1 oci8 1.1 4.3.0
oci_commit 1 oci8 1.1 4.3.0
oci_connect 1 oci8 1.1 4.3.0
oci_error 6 oci8 1.1 4.3.0
oci_execute 1 oci8 1.1 4.3.0
oci_fetch_all 1 oci8 1.1 4.3.0
oci_fetch_array 2 oci8 1.1 4.3.0
oci_fetch_object 1 oci8 1.1 4.3.0
oci_new_descriptor 1 oci8 1.1 4.3.0
oci_num_fields 1 oci8 1.1 4.3.0
oci_num_rows 1 oci8 1.1 4.3.0
oci_parse 1 oci8 1.1 4.3.0
oci_pconnect 1 oci8 1.1 4.3.0
oci_rollback 1 oci8 1.1 4.3.0
oci_server_version 1 oci8 1.0 4.3.0
....
Thank you very much !
@LeoShivas Thanks for feedback. Official CompatInfo-DB 2.15.0 has just been released !
I have an application which uses OCI functions as oci_connect, oci_fetcharray, oci*** etc ... Theses functions are enabled by the oci8 PHP extension.
Why, when I launch the phpcompatinfo analyser, this PHP extension doesn't show up ?
Also, why, when I launch the
phpcompatinfo reference:list
command, this PHP extension doesn't show up ?Another strange point, the oci_* PHP functions are tagged "user" in the REF colunm :
I think this behaviour is due to the fact that PhpCompatInfo does not have oci8-like REF.
My PhpCompatInfo version :
phpCompatInfo version 5.2.1 DB version 2.x-dev@effa54c built Jun 26 2019 17:35:50 CEST
My PHP version :
My PHP extensions :