[PHP] 4.3.3-RC1 => possible bug in in_array()?

2003-07-25 Thread Branko F. Gračnar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. I've just found weird thing about in_array() function. Platform: FreeBSD 5.1/PHP 4.3.3-RC1 Consider this code: $this->_array_a and $this->_array_b ARE IDENTICAL $data = array(); foreach ($this->_array_a as $key

[PHP] GD problem

2003-07-04 Thread Branko F. Gračnar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there... I'm having huge problem with PHP 4.3.2 on FreeBSD 5.1 platform with GD functions. check out the following code: $str = "some text"; $img = imagecreatefrompng("images/template.png"); $color = imagecolorallocate($img, $red, $blue, $green)

[PHP] PHP crashes when using gd with true type fonts.

2003-06-13 Thread Branko F. Gračnar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Check out the following code: When i use imagettftext() i httpd child process always crashes with signal 11 and in 20% requests it doesn't serve the image. If i use imagestring() everything works okay, with no crashes at all.. Any ideas? sys