ionCube Logo
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


 
Post new topic   Reply to topic    ionCube Forum Index -> ionCube PHP Encoder

How to ignore error caused by not supporting PHP 7.2+?

Author Message
ratnake



Joined: 06 May 2005
Posts: 3

PostPosted: Mon Feb 01, 2021 7:43 pm    Post subject: How to ignore error caused by not supporting PHP 7.2+? Reply with quote

Hi Guys!

In my project folder, I have sources in PHP 7.2 and PHP 7.4.

Which option I can use to force the encoder to ignore syntax error caused by not support for PHP 72+?

It's not a problem for me to maintain those files unencoded.
Back to top
View user's profile Send private message
ratnake



Joined: 06 May 2005
Posts: 3

PostPosted: Thu Feb 04, 2021 1:57 am    Post subject: Reply with quote

Copying source content to the target dir and using the --merge-target option worked for me:

Code:

cp src_dir/* target_dir/
ioncube_encoder72_10.2_64 src_dir -o target_dir --merge-target


Thanks
Back to top
View user's profile Send private message
thealex



Joined: 03 Apr 2021
Posts: 2

PostPosted: Wed May 05, 2021 10:43 am    Post subject: Reply with quote

Finding more issues with incompatible methods declaration between interfaces and actual code, that lead to fatals in PHP 7.2. Shall we open one separate issue for each?
Back to top
View user's profile Send private message
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2801

PostPosted: Wed May 05, 2021 12:00 pm    Post subject: Reply with quote

thealex wrote:
Finding more issues with incompatible methods declaration between interfaces and actual code, that lead to fatals in PHP 7.2. Shall we open one separate issue for each?


The Encoder will be correct if it shows errors in source code, so check code carefully. If you have a problem you can't figure out though and if you suspect there might be an Encoder fault then please create a support ticket so the support team can advise.
_________________
Community Admin
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ionCube Forum Index -> ionCube PHP Encoder All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum