php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20576 Found a typo that creates a compile error...
Submitted: 2002-11-22 11:25 UTC Modified: 2002-11-22 11:40 UTC
From: henrik at docuwild dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.2.3 OS: RedHat
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: henrik at docuwild dot com
New email:
PHP Version: OS:

 

 [2002-11-22 11:25 UTC] henrik at docuwild dot com
Get this when compiling...

zend_ini.c: In function `zend_ini_displayer_cb':
zend_ini.c:309: `display_string_lelgth' undeclared (first use in this function)
zend_ini.c:309: (Each undeclared identifier is reported only once
zend_ini.c:309: for each function it appears in.)
make[1]: *** [zend_ini.lo] Error 1
make[1]: Leaving directory `/usr/local/www/php-4.2.3/Zend'
make: *** [all-recursive] Error 1zend_ini.c: In function `zend_ini_displayer_cb':
zend_ini.c:309: `display_string_lelgth' undeclared (first use in this function)
zend_ini.c:309: (Each undeclared identifier is reported only once
zend_ini.c:309: for each function it appears in.)
make[1]: *** [zend_ini.lo] Error 1
make[1]: Leaving directory `/usr/local/www/php-4.2.3/Zend'
make: *** [all-recursive] Error 1

See the typo? display_string_lelgth should read display_string_length. Fix that and it compiles. 

(and it was found in the latest version downloaded from your site today (well, approx 30 min ago :))

Have fun,
HuBBa

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-22 11:38 UTC] derick@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip
 [2002-11-22 11:40 UTC] derick@php.net
Oops, sorry for that.

My php 4.2.3 source really shows this:
display_string_length = ini_entry->orig_value_length;

So I guess some bit swapped for some weird reason.
Not a bug -> bogus

Derick

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 21 21:00:03 2025 UTC