FAQ

Search Discussions

142 discussions - 659 posts

  • Hi out there, A few weeks ago I submitted a patch in the bug db for a variable_exists() construct, which parallels the function_exists() one but for variables. In short, it returns TRUE if a variable ...
    Lars Torben WilsonLars Torben Wilson
    Aug 13, 2003 at 10:27 pm
    Aug 19, 2003 at 1:51 pm
  • PHP 4.3.3RC3 was just released, hopefully this will be the final release candidate prior to the final release. Please test this release as much possible so that any new/critical bugs maybe uncovered ...
    Ilia AlshanetskyIlia Alshanetsky
    Aug 7, 2003 at 6:33 pm
    Aug 15, 2003 at 9:33 am
  • Variable scope is mediocre at best. For instances: $array = array(1, 2, 3, 4, 5); for ($i = 0; $i < 5; $i++) { $num = $array[$i]; echo $num; for ($i = 0; $i < 5; $i++) { echo $num * $i; } } The inner ...
    LingwittLingwitt
    Aug 30, 2003 at 2:18 pm
    Aug 31, 2003 at 1:24 pm
  • Hi internals, Is there a way to hook the cast_object handler in userspace ? What I want is a default "to_string" method called when I do something like: class my_object extends ...
    Cristiano DuarteCristiano Duarte
    Aug 2, 2003 at 10:49 pm
    Aug 9, 2003 at 9:56 pm
  • Since nobody -- not even the "perpetrators" themselves -- has brought this to this list yet I'll simply post these two links: - http://edwardbear.org/optimizations - ...
    Sebastian BergmannSebastian Bergmann
    Aug 25, 2003 at 1:44 pm
    Aug 31, 2003 at 11:45 pm
  • Hey, I'm quite new to this, so please don't shoot this down too harshly. If I don't explain something clearly enough, please ask me. Because Application variables are pretty much shared session ...
    DaveyDavey
    Aug 7, 2003 at 12:36 pm
    Aug 8, 2003 at 5:56 am
  • Hi, I've been debugging a problem with my memory manager for quite a while (I was playing with different block sizes) when I discovered there doesn't seem to be a bug but the heap gets corrupted by ...
    Andi GutmansAndi Gutmans
    Aug 30, 2003 at 1:06 pm
    Aug 31, 2003 at 12:11 pm
  • Hello group, After having spent some time digging into the origin of the strict-aliasing warnings when compiling with GCC 3.3 (brought about by Stefan Roehrich's post a couple of days ago), I came up ...
    Ard BiesheuvelArd Biesheuvel
    Aug 27, 2003 at 8:44 pm
    Aug 28, 2003 at 5:17 pm
  • Using the current CVS of PHP 5's SAPI/CGI on Windows I get the following message for every script, even for a simple <?php phpinfo(); ? one: No input file specified. When running the CGI SAPI from ...
    Sebastian BergmannSebastian Bergmann
    Aug 17, 2003 at 12:41 pm
    Aug 24, 2003 at 1:16 pm
  • Hello Jeremy, Wednesday, August 6, 2003, 8:16:49 PM, you wrote: JSJ No that is not what I meant. What I meant is so when you write an JSJ application using PHP-GTK you could distribute a single ...
    Simeon KoptelovSimeon Koptelov
    Aug 6, 2003 at 2:36 pm
    Aug 6, 2003 at 4:15 pm
  • Hi there. People using Debian GNU/Linux boxes can use the unofficial=20 php4-4.3.3 debian packages, that I just released. They are compiled from the official 4.3.3 sources, with debian packaging ...
    Guillaume PlessisGuillaume Plessis
    Aug 26, 2003 at 3:10 am
    Aug 26, 2003 at 4:09 pm
  • Should'nt this work? Currently it reports an error about a undefined constant. <? class Test { const FOO = 100; var $bar = FOO; } $Test = new Test; echo $Test- bar; ? Ciao, Arjen
    Arjen BrouwerArjen Brouwer
    Aug 22, 2003 at 11:35 am
    Aug 23, 2003 at 10:10 pm
  • I've written a PHP5 extension in C++ that builds great on Linux with GCC, whether I compile it into PHP or build it as a shared library. On Solaris with Sun CC, however, I've had to manually edit the ...
    Mark SpruiellMark Spruiell
    Aug 19, 2003 at 11:24 pm
    Aug 22, 2003 at 9:49 pm
  • The attached patch changes dl() so that, instead of outright refusing to run under safe mode, it performs additional security checks on the value of extension_dir and accepts a filename-only argument ...
    Steve LangasekSteve Langasek
    Aug 17, 2003 at 4:05 am
    Aug 18, 2003 at 8:28 am
  • Hi all, I'm in php-src/ext/standard/image.c (revision 1.92) Looking at php_image_type_to_mime it seems like there are two constants not handled : IMAGETYPE_JB2 IMAGETYPE_JPX Am I looking at the good ...
    Mehdi AchourMehdi Achour
    Aug 15, 2003 at 5:27 pm
    Aug 15, 2003 at 9:50 pm
  • After seeing the conversation on the PHP archive idea (having a PHP equivalent of a jar file), it reminded me of an idea I had a long time ago. Has anyone ever thought of writing a PHP compiler which ...
    Jeremy S. JohnstoneJeremy S. Johnstone
    Aug 6, 2003 at 1:52 pm
    Aug 7, 2003 at 4:41 pm
  • Hi Devs, is there a possibility to get a php function like declare_superglobal($_MYVAR); And then be able to use $_MYVAR as the existing superglobals ($_GET, $_SESSION, etc.) ??? I think, it would be ...
    Matthias NothhaftMatthias Nothhaft
    Aug 23, 2003 at 7:21 pm
    Nov 16, 2003 at 11:26 am
  • proto urlencode_array(array formdata [, string numeric_prefix]) Purpose: Generate a form encoded query string from an associative (or indexed) array. Example: $formdata = array('page'= 'home', ...
    Sara GolemonSara Golemon
    Aug 28, 2003 at 9:15 pm
    Sep 3, 2003 at 10:26 am
  • Hi, internals, I need some help with my attempt to provide win32 port for the spellchecker (pspell extension). Since I am pretty ignorant as far as win32 goes, can some kind win32 guru answer this?: ...
    Vlad KrupinVlad Krupin
    Aug 13, 2003 at 12:49 am
    Aug 18, 2003 at 1:31 pm
  • I'm writing an ext for Apples OpenDirectory (directory services) API and it makes heavy use of registering resources in the zend internal list. I'm also new to the Zend API. As of now I have about 4 ...
    Justin HannusJustin Hannus
    Aug 11, 2003 at 2:42 pm
    Aug 14, 2003 at 4:12 pm
  • Hi all, I know there was a lot of discussion about try/catch, but I will bring it up again: What about finally ? I know someone posted that finally isn't necessary since PHP destroy all variables and ...
    Cristiano DuarteCristiano Duarte
    Aug 6, 2003 at 12:15 am
    Aug 6, 2003 at 5:31 pm
  • Not so long ago, it was proposed that we should have an PHP archive model like Java does. I think it might me useful for application deployment. Someone posted that PEAR::Config has this feature. I ...
    Cristiano DuarteCristiano Duarte
    Aug 6, 2003 at 3:00 am
    Aug 6, 2003 at 4:37 pm
  • Hello! If PHP5 cvs is compiled with gcc 3.3 and -Wall, there are warnings about: "dereferencing type-punned pointer will break strict-aliasing rules". E.g. they occur if the last parameter of ...
    Stefan RoehrichStefan Roehrich
    Aug 24, 2003 at 3:16 pm
    Aug 26, 2003 at 8:55 pm
  • RC3 did not prove as stable as I hoped it would be, so here we are 20+ bug fixes later with RC4. It is my sincere hope that RC4 will be the last RC before we can proceed with the final. Please test ...
    Ilia AlshanetskyIlia Alshanetsky
    Aug 18, 2003 at 2:00 pm
    Aug 19, 2003 at 12:10 pm
  • It's rare to find functionality that cannot be effectively implemented in userland PHP code, but this appears to be one of them. The issue here is the capability to check if an array index (or ...
    Griggs DomlerGriggs Domler
    Aug 18, 2003 at 9:02 pm
    Aug 19, 2003 at 5:55 am
  • Did the overloading API in PHP4 actually ever work? I have done some simple stuff with it in the past, but I tried using it for something real today and it is falling over. I have a very simple ...
    Rasmus LerdorfRasmus Lerdorf
    Aug 15, 2003 at 10:10 pm
    Aug 15, 2003 at 11:25 pm
  • The streams API has, since early in its introduction had the capacity to perform stat() family calls on files under any wrapper. In theory. What's preventing wrapper- wops- url_stat from being useful ...
    PollitaPollita
    Aug 10, 2003 at 12:30 am
    Aug 13, 2003 at 6:47 pm
  • Hello internals, according to our manual index values are either strings or integers. In case of strings which represent integers they are also handled as integers. Bug 21918 now shows that this ...
    Marcus BörgerMarcus Börger
    Aug 11, 2003 at 1:32 am
    Aug 12, 2003 at 12:25 pm
  • I am not sure if this is a bug, but I have came across two test cases where the behavior is not as expected so I thought I would ask. The problem I am having seems to be with addslashes not properly ...
    Jeremy JohnstoneJeremy Johnstone
    Aug 31, 2003 at 4:00 am
    Aug 31, 2003 at 6:57 pm
  • See these errors: ext/mbstring/mbstring.o: In function `php_mb_parse_encoding_list': /dat/dev/php/php-5.0.0dev/ext/mbstring/mbstring.c:343: undefined reference to `mbfl_name2no_encoding' ...
    Derick RethansDerick Rethans
    Aug 30, 2003 at 1:50 pm
    Aug 30, 2003 at 2:57 pm
  • Hi, till today I had a big problem with my Apache 1.3 segfaulting when I try to instantiate from a class. The class is declared in a C extesion (named xml_parser.so, class name WebgateXMLParser). Few ...
    Andrey HristovAndrey Hristov
    Aug 29, 2003 at 1:17 pm
    Aug 29, 2003 at 6:43 pm
  • Compiling the 28-8 3:30 snapshot whit the option --with-unixODBC=/usr/local/odbc /bin/sh /sys/tmp/php5-200308280330/libtool --silent --preserve-dup-deps --mode=compi le gcc -I/usr/local/odbc/include ...
    John HuntjensJohn Huntjens
    Aug 28, 2003 at 1:41 pm
    Aug 28, 2003 at 5:30 pm
  • That won't work. empty() will return true if the variable is set to a literal zero, false, blank, or null. So for your use, it's actually worse than isset assuming your data can have zeros or blank ...
    Shaun ThomasShaun Thomas
    Aug 19, 2003 at 9:38 pm
    Aug 20, 2003 at 8:10 pm
  • this is old subject everyone is tired of i'm sure. but since large changes have been made to call_user_func[_array] recently, i want to confirm: if an object calls one of its methods ($thing- foo()), ...
    Brad BulgerBrad Bulger
    Aug 13, 2003 at 6:38 am
    Aug 13, 2003 at 4:46 pm
  • I am trying to make a function for my extension that makes a predefined variable global I have tried something along the lines of: if(zend_hash_find(&EG(symbol_table), var, strlen(var)+1, (void **) ...
    Ken SpencerKen Spencer
    Aug 1, 2003 at 12:43 am
    Aug 1, 2003 at 10:10 pm
  • Hello internals, The following code: <?php class a { protected $bla; } class b extends a { public function murks() { return $this- bla; } } $o = new b; print_r($o) ? results in two properties which ...
    Marcus BörgerMarcus Börger
    Aug 27, 2003 at 10:21 pm
    Sep 8, 2003 at 11:49 pm
  • I see that recently mail() function was changed so that sendmail_path parameter in php.ini does not allow to place parameters in the command anymore - which, at least for me, breaks sending mail from ...
    Stanislav MalyshevStanislav Malyshev
    Aug 31, 2003 at 3:59 pm
    Sep 1, 2003 at 8:17 am
  • After a lengthy QA process, PHP 4.3.3 is finally out! This maintenance release solves a fair number of bugs found in prior PHP versions and addresses several security issues. All users are *strongly* ...
    Ilia AlshanetskyIlia Alshanetsky
    Aug 25, 2003 at 3:26 pm
    Aug 26, 2003 at 12:03 am
  • Hi! I'm running OSX 10.3 ( Panther ) and the snaps fails to compile. I got the Panther seed at the WWDC earlier this year, and there are newer seeds out, but I don't have that yet so I don't know if ...
    NucleuzNucleuz
    Aug 19, 2003 at 2:37 pm
    Aug 23, 2003 at 1:24 am
  • When/where was this discussed? Why is this necessary? setcookie() works just fine as it was.. --Jani -- https://www.paypal.com/xclick/business=sniper@php.net&no_note=1&tax=0&currency_code=EUR
    Jani TaskinenJani Taskinen
    Aug 20, 2003 at 10:58 pm
    Aug 20, 2003 at 11:33 pm
  • I know that Apache 2 discussions have come up before, so I will make my question very specific. Given that pre-fork is the default Apache mpm on linux systems, why doesn't PHP have non-experimental ...
    Marc RichardsMarc Richards
    Aug 9, 2003 at 9:07 pm
    Aug 9, 2003 at 11:07 pm
  • Guys, what do you think about defaulting the build to use -prefer-non-pic and having libtool build a non-pic libphp4.so when building the Apache DSO? That library isn't linked into other programs ...
    Rasmus LerdorfRasmus Lerdorf
    Aug 1, 2003 at 4:22 pm
    Aug 1, 2003 at 8:12 pm
  • Latest snapshot with iodbc 3.51.0 i: configure: ./configure \ --prefix=/usr/local/php5 \ --sysconfdir=/etc/php \ --localstatedir=/var/log/php \ --with-config-file-path=/etc/php \ ...
    John HuntjensJohn Huntjens
    Aug 29, 2003 at 3:23 pm
    Aug 29, 2003 at 6:29 pm
  • PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (832 total including feature requests) ===============================================[Apache related]=============== 15529 ...
    InternalsInternals
    Aug 2, 2003 at 2:00 pm
    Aug 23, 2003 at 2:00 pm
  • Is possible to implement userland macros in a PHP extension or it can only be implemented in the core? I know that macros is a preprocessor task and I think PHP has no preprocessor (does it?). So ...
    Cristiano DuarteCristiano Duarte
    Aug 18, 2003 at 6:57 pm
    Aug 18, 2003 at 7:19 pm
  • Is there a 64-bit integer zval, or is it expected in the near future ? (Need it for BLOB handling in Interbase) Ard
    Ard BiesheuvelArd Biesheuvel
    Aug 17, 2003 at 10:15 am
    Aug 17, 2003 at 11:18 am
  • In the custom mass hosting module I'm working on I make calls to zend_alter_ini_entry (thanks Uwe!) to dynamically change PHP settings for each virtual host. Works great, but I'm wondering about the ...
    Mark MorleyMark Morley
    Aug 15, 2003 at 6:40 am
    Aug 15, 2003 at 11:46 pm
  • Hi, few months ago I developed a wrapper around 2 scientific libraries. DCDFLIB (Library of C routines for Cumulative Distributions Functions, Inverses, and Other parameters)(by Barry Brown and James ...
    Andrey HristovAndrey Hristov
    Aug 11, 2003 at 1:21 pm
    Aug 14, 2003 at 12:33 pm
  • I am having problem building extension with long names. As an example say my extension name is foooo_naaaaame_baaaaar and FOOOO_NAAAAAME_BAAAAAR_SHARED_LIBADD is used to link libraries. The problem ...
    Brian J. FranceBrian J. France
    Aug 13, 2003 at 10:07 pm
    Aug 13, 2003 at 10:35 pm
  • Hi there, What should I do when I find bad protos in the php-src files while I'm looking at them for documentation purpose ? Should I throw a mail here, an unified diff to the source files correcting ...
    Mehdi AchourMehdi Achour
    Aug 8, 2003 at 4:09 pm
    Aug 8, 2003 at 4:54 pm
Group Navigation
period‹ prev | Aug 2003 | next ›
Group Overview
groupphp-internals @
categoriesphp
discussions142
posts659
users150
websitephp.net

150 users for August 2003

Cristiano Duarte: 33 posts Derick Rethans: 31 posts Zeev Suraski: 30 posts Marcus Börger: 29 posts Rasmus Lerdorf: 25 posts Ilia Alshanetsky: 24 posts Lingwitt: 21 posts Ard Biesheuvel: 19 posts Sebastian Bergmann: 18 posts Jani Taskinen: 17 posts Sascha Schumann: 17 posts Stefan Walk: 12 posts Robert Cummings: 10 posts Nicos: 9 posts Lars Torben Wilson: 9 posts Simeon Koptelov: 9 posts Vesselin Atanasov: 9 posts Wez Furlong: 9 posts Andi Gutmans: 8 posts Davey: 8 posts
show more
Archives