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

Am I having a coding error?

Author Message
khaldrogo



Joined: 09 Mar 2021
Posts: 1

PostPosted: Tue Mar 09, 2021 5:51 am    Post subject: Am I having a coding error? Reply with quote

Hi all,

ionCube Encoder Version 6.0 Improvements 13:

I noticed the endless loop on this example:
$ var = array ();
...
foreach ($ var as $ val) {...} // infinite loop

Can anyone answer for me?
Back to top
View user's profile Send private message
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2814

PostPosted: Sun Apr 25, 2021 3:39 pm    Post subject: Reply with quote

It might depend on what's in the loop, or could be an issue related to 6.0 being such an old version of the product, or be related to a PHP bug (foreach is an infamous construct with a troubled history in terms of its implementation in the PHP core). I'd test with the current version to see if there is still an issue.
_________________
Community Admin
Back to top
View user's profile Send private message
miloking



Joined: 11 May 2021
Posts: 1

PostPosted: Tue May 11, 2021 9:50 am    Post subject: Reply with quote

Coding error detected, it must be fixed by a programmer: encode_content_links() method needs to be overridden in each subclass of backup_activity_task

Any ideas on what might be wrong?

Moodle 3.2.2+ (Build: 20170407) Version 2016120502.05
Back to top
View user's profile Send private message
coltjax



Joined: 25 Jul 2021
Posts: 1

PostPosted: Sun Jul 25, 2021 8:27 am    Post subject: Reply with quote

Hi -

Can you please report what version of the questionnaire plugin you are using? The most current version for Moodle 3.2 is "´╗┐Release 3.2.3 (Build - 2017033000)". I tried that version and cannot replicate the problem you described.

----------------------------
www.smarthomecherish.com/
Back to top
View user's profile Send private message
osmosoom



Joined: 11 Oct 2021
Posts: 1

PostPosted: Mon Oct 11, 2021 7:18 am    Post subject: Reply with quote

Depends on loop.
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