Features & functions Try the demo Download Bugtracker Submit new issue

HostDrone (software) ~ major

# 125. next() function different behavior PHP4/...


Project: HostDrone (software)
Reported by: Anonymous at 2010-04-10 23:04:28

Error/issue description

Affected elements

Question concerning: Broken functionality which was written using PHP on All (platform irrelevant)

In the words of the user...

The next() function behavior is ofset in php5 versus php4. In php4, the function is required to bring an array to index=0, however that is not required in php5 - in fact, by doing that you will trigger a leap to index=1, i.e. skipping the first index in a given array.

The following files are affected:

run_alternate.php
run_email.php
run_ftp.php
run_mysql.php
run_php.php

In php5 these all require the next() index command at the end of the loop, where as in php4 it is required that it should be in the beginning of the loop.


Comments

2010-04-11 00:36:00 by Anonymous

run_php.php has been fixed. Rewrote the whole thing.