e-sites / php-mysql-mysqli-wrapper

MIT License
98 stars 40 forks source link

global variable?!? #5

Closed paolobenve closed 4 years ago

paolobenve commented 5 years ago

using a global variable $link exposes to the risk of overwriting/being it overwritten by an identical app variable.

$link should at least be renamed to something weird, e.g. $myyyyyyyLink in order to avoid the issue

paolobenve commented 5 years ago

It seems that the issue is only with php7, in php5 the wrapper does what it must do

Anton-Korduan commented 4 years ago

I've got the same problem (took me a while to find the global use of "$link") - but I downloadet the wrapper in Oktober/November 2019 ... is this really fixed?

sjoerdmaessen commented 4 years ago

This is now fixed, sorry for the late update.