[PHP-DEV] PHP 8.2 proposal: "match", allow "default" as conditional_expression, e.g. 'en_US', 'en_GB', default => loadDefaults()

2021-11-22 Thread Andreas
ngs(), }; ?> The `default` pattern must be the last item in the last expression branch. Thanks, Andreas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

Re: [PHP-DEV] PHP 8.2 proposal: "match", allow "default" as conditional_expression, e.g. 'en_US', 'en_GB', default => loadDefaults()

2021-11-22 Thread Andreas
On 22.11.21 22:06, Nikita Popov wrote: On Mon, Nov 22, 2021 at 7:18 PM Andreas wrote: Hi internals, This is a proposal to allow to append the `default` pattern by comma to the end of the last match branch. (Like a conditional_expression) This allows to re-use the

Re: [PHP-DEV] DateInterval bug

2015-04-14 Thread Andreas Heigl
hows you how many years, months, days, etc there are between two > dates. The second is the actual interval between two dates. The first is > context dependent - it needs anchoring in at least one date. The second is > context indepe

Re: [PHP-DEV] LDAP module enhancements

2015-04-22 Thread Andreas Heigl
Hi Côme. According to the gophp7-ext project the LDAP module isn't maintained. (I've just looked it up this morning). See https://github.com/gophp7/gophp7-ext/wiki/extensions-catalog. Would you want or consider thinking about taking over? Cheers Andreas Am 21.04.15 um 09:18 sc

Re: [PHP-DEV] Proposal: interfaces for object to scalar type casting

2015-05-13 Thread Andreas Heigl
nt $money) { $money = $money * CURRENT_VAT; return $money; } which would alter the object in question! Or are we talking about two completely different things? Cheers Andreas --

Re: [PHP-DEV] LDAP module requirements?

2015-06-22 Thread Andreas Heigl
please speak up. > > Is there a place where such requirements are supposed to be listed? I'd expect an appropriate information at least at http://php.net/manual/

[PHP-DEV] Deprecating ldap_sort

2015-06-24 Thread Andreas Heigl
way in PHP8" kind of decission? And will it be possible to get that marked deprecated in 7 at all? Thanks for your help in getting this right. Cheers Andreas [1] https://github.com/php/php-src/pull/1357 [2] http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;

Re: [PHP-DEV] Deprecating ldap_sort

2015-06-25 Thread Andreas Heigl
Hi Anatol. Côme already replied to the technical aspects of what we are trying to do. Am 25.06.15 um 17:56 schrieb Anatol Belski: > Hi Andreas, > >> -Original Message----- >> From: Andreas Heigl [mailto:andr...@heigl.org] >> Sent: Wednesday, June 24, 2015

Re: [PHP-DEV] Deprecating ldap_sort

2015-06-26 Thread Andreas Heigl
Hi all. Am 25.06.15 um 17:56 schrieb Anatol Belski: > Any feedback from the ldap users were appreciated here, as well. * https://github.com/smalot/ldap uses ldap_sort, issue is raised * https://github.com/matgou/GorgLdapOrmBundle uses ldap_sort, informed the maintainer via email Cheers Andr

Re: [PHP-DEV] [RFC] UString

2015-06-30 Thread Andreas Heigl
for an integrated > solution, kind of expected to work. Why would that be expected behaviour? I mean I can't do $date = (DateTime) $timestring; after all, can I? But I can use $date = new

Re: [PHP-DEV] [RFC] UString

2015-07-02 Thread Andreas Heigl
rce us to rename the > library again ;-). What's the issue with the name? As far as I see it, There's no problem at all, as there's UString and then there's Hoa\UString. Different namespace, no issue. Or am I missing something? Cheers Andreas > > Moreover, this lib

Re: [PHP-DEV] Very strange error message

2015-07-09 Thread Andreas Heigl
g? Or am I missing the declaration of the $cacheTime Variable in or before the else-block? So efectively you assign $cacheTime = self::void Not sure whether that's a good idea in the first place ;) Cheers Andreas > > Cheers, > Patrick > --

Re: [PHP-DEV] Move internals discussion to a better medium

2015-08-02 Thread Andreas Heigl
unication. And to be honnest: For me it shows a certain understanding of the way the web works when you are able to setup your tools to be able to follow the discussions on internals. And I'm not sure Whether I want someone messing arround with the language that powers 80% of the WorldWideW

Re: [PHP-DEV] Re: Move internals discussion to a better medium

2015-08-02 Thread Andreas Heigl
real PITA, at least for users without a php.net account. I'm not sure why it's a PITA. you can search for issues without problems. And if you miss certain functions you can open a PR. Yes, without karma you can't change anything. Which - AFAIK - isn't possible in github or an

Re: [PHP-DEV] Re: Move internals discussion to a better medium

2015-08-02 Thread Andreas Heigl
> Am 02.08.2015 um 17:12 schrieb Niklas Keller : > > 2015-08-02 16:48 GMT+02:00 Andreas Heigl : > >> Hi Niklas >> >>> Am 02.08.2015 um 16:26 schrieb Niklas Keller : >>> >>> 2015-08-02 15:29 GMT+02:00 Rowan Collins : >>> >>&g

Re: [PHP-DEV] Move internals discussion to a better medium

2015-08-03 Thread Andreas Heigl
push notification via Email ;) * retrieval via news-protocol. I (and I presume a lot of others) like to get the news delivered to my doorstep instead of having to pull the relevant information from a web-interface. Cheers Andreas > > Regards, > -- > Rowan Collins >

Re: [PHP-DEV] Re: Move internals discussion to a better medium

2015-08-04 Thread Andreas Heigl
ering the entry barrier" is in the end a discussion about "let's bring it all to HTTP". The internet is so much more than HTTP. And the internet is so much more than an implementation of that protocol by any service provider be it google or yahoo or whatnot. Cheers Andreas

Re: [PHP-DEV] realpath() on MacOSX doesn't normalize the case of characters

2015-08-05 Thread Andreas Heigl
ber the case sensitivity on osx (for hfs) can be > enabled optionally, or? Case sensitivity is not an issue of OS X but of the underlying Filesystem which is by default on HFS+ disabled. You can enable case sensitivity by reformating the partition using case-sensitive HFS+ Cheers Andreas -- Andreas Heigl andr...@heigl.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] LDAP module requirements?

2015-08-10 Thread Andreas Heigl
ason behind the cleanup (and therefore removal of ifdefs) was that we wanted to optimize PHPs ldap-functions and remove those calls to long-deprecated functions in the OpenLDAP library. Sonwe'll have to check what's possible with the Solaris lib. Out of interest: What is for you the benefit of using the Solaris-ldap lib instead of the OpenLDAP lib? I'd like to get a feeling for the issue! Cheers Andreas -- Andreas Heigl andr...@heigl.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] LDAP module requirements?

2015-08-12 Thread Andreas Heigl
give that up for maintaining compatibility with some edge-case usages. So I'm very interested in your patch to see how we can rech both goals! In the meantime you can still use the "old" ext/ldap for the newer PHP-branch as it should compile without an issue. The "newer" ext/ldap just removed stuff ;) Cheers Andreas > Regards, > > Rainer -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] LDAP module requirements?

2015-08-13 Thread Andreas Heigl
Hi Rainer. Am 13.08.15 um 16:39 schrieb Rainer Jung: > Am 12.08.2015 um 13:17 schrieb Andreas Heigl: >> Hi Rainer. >> >>> Am 12.08.2015 um 13:00 schrieb Rainer Jung : >>> >>> Hi Côme, >>> >>>> Am 11.08.2015 um 16:58 schrieb Côme BER

Re: [PHP-DEV] [RFC] Default expression

2024-08-26 Thread Andreas Leathley
On 24.08.24 18:49, Bilge wrote: Hi gang, New RFC just dropped: https://wiki.php.net/rfc/default_expression. I think some of you might enjoy this one. Hit me with any feedback. This one already comes complete with working implementation that I've been cooking for a little while. Considering I do

Re: [PHP-DEV] [RFC] Default expression

2024-08-26 Thread Andreas Leathley
On 26.08.24 11:26, Bilge wrote: Thanks for this question; I find this super interesting because it's something we haven't thought about yet. I must admit I completely overlooked that, whilst an interface /can/ require implementers to specify a default, in the case that they do not, it is still v

Re: [PHP-DEV] [RFC] Default expression

2024-08-26 Thread Andreas Heigl
Hey folks. Am 26.08.24 um 11:26 schrieb Bilge: On 26/08/2024 10:03, Andreas Leathley wrote: On 24.08.24 18:49, Bilge wrote: For me there is another question. When using interfaces and classes, default values can be introduced, like this: interface CompressionInterface {     public function

Re: [PHP-DEV] [RFC] [Discussion] Using and Mentioning Third-party Packages in PHP Documentation and Web Projects

2024-08-26 Thread Andreas Heigl
Best Practices. My 0.02€ from having done some maintenance on php.net. Cheers Andreas -- ,,, (o o) +--------

Re: [PHP-DEV] [RFC] [Discussion] Using and Mentioning Third-partyPackages in PHP Documentation and Web Projects

2024-08-27 Thread Andreas Heigl
Hey Christoph, hey all. Am 27.08.24 um 13:46 schrieb Christoph M. Becker: On 27.08.2024 at 07:03, Andreas Heigl wrote: I see this a bid differently to be honest. While I understand that using third party packages in our internal tools might make things easier in the short term it will cause a

Re: [PHP-DEV] [Pre-RFC Discussion] User Defined Operator Overloads (again)

2024-09-17 Thread Andreas Leathley
On 17.09.24 11:14, Mike Schinkel wrote: How would a developer know if they are using an object that has operators, unless they study all the source code or at least the docs (assuming there are good docs, which there probably are not?) How is that different from using a method on an object? Ope

Re: [PHP-DEV] [Pre-RFC Discussion] User Defined Operator Overloads (again)

2024-09-17 Thread Andreas Leathley
On 14.09.24 23:48, Jordan LeDoux wrote: 1. Should the next version of this RFC use the `operator` keyword, or should that approach be abandoned for something more familiar? Why do you feel that way? 2. Should the capability to overload comparison operators be provided in the same RFC, or would

[PHP-DEV] state of PHP5 support in APC

2005-04-15 Thread Andreas Korthaus
is list some time ago. I also tried eAccelerator. First it looked nice and seemed to work with PHP5, but I got some errors with PEAR::MDB2 (something with constructors I think). Can someone estimate how far away we are from a working PHP5 release? Thanks! best regards, Andreas -- PHP Internals -

[PHP-DEV] Re: state of PHP5 support in APC

2005-04-15 Thread Andreas Korthaus
I'm sorry, should have gone to pecl.dev! -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: pear package in 4.3.x releases

2005-04-26 Thread Andreas Korthaus
stall packages (which is a good idea IMHO) all users (not only superusers) need a reliable tool for installation/management (also without shell-account). best regards Andreas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP 5.1

2005-06-10 Thread Andreas Korthaus
and it'll go bad if > we don't move the major pieces along. Absolutely! I'm really looking forward to all these great, new features! (I have scripts running 40-50% faster with 5.1-dev; PDO, xmlreader, pecl_http work great...) kind regards Andreas -- PHP Internals - PHP Runtime Dev

Re: [PHP-DEV] PHP 5.1

2005-06-10 Thread Andreas Korthaus
if we don't move the major pieces along. Absolutely! I'm really looking forward to all these great, new features! (I have scripts running 40-50% faster with 5.1-dev; PDO, xmlreader, pecl_http work great...) kind regards Andreas -- PHP Internals - PHP Runtime Development Mailing L

Re: [PHP-DEV] PHP 5.1

2005-06-13 Thread Andreas Korthaus
nt of tests against the amount of functionality provided. OK, I wrote some small scripts and it worked quite nice. Very good work, it's (or will be...) a really useful extension! I hope it will be added to php-core some day ;-) best regards Andreas -- PHP Internals - PHP Runtime D

Re: [PHP-DEV] PHP 5.1

2005-06-13 Thread Andreas Korthaus
Derick Rethans wrote: On Fri, 10 Jun 2005, Andreas Korthaus wrote: Will pecl_http be included? (AFAIR something like that has been discussed earlier this year on this list) We have the policy of not adding more very specialized extensions to the PHP core distribution - those extensions

[PHP-DEV] SQlite row size

2005-07-19 Thread Andreas Ahlenstorf
without a compiler and without the required knowledge... Andreas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] SQlite row size

2005-07-19 Thread Andreas Ahlenstorf
crappy; if you're serious about it, I'd suggest upgrading to PHP 5.1 and using PDO SQLITE instead. SQLite 3 (which it uses) actually has a concept of binary data. I'll think about it - does the row size limit still exist in SQLite 3? Andreas -- PHP Internals - PHP Runtime Development

[PHP-DEV] No recent Win32 snapshots of PHP 5.0.x available

2005-07-27 Thread Andreas Ahlenstorf
Hi, The last snapshot of PHP 5.0.x (including the PECL extensions) for Win32 is from Jul 22. But I need one from today. Is this delay desired? Andreas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Moving to PHP5.1 and Apache 2.2 next year, need help

2005-08-09 Thread Andreas Korthaus
a good idea, least of all for a setup under high load because of the arguments already mentioned in this thread and because most developers don't use threaded setups today. best regards, Andreas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Moving to PHP5.1 and Apache 2.2 next year, need help

2005-08-09 Thread Andreas Korthaus
lighttpd does the same, it's a non-blocking webserver with only one process. The one process cares about keep-alives... and delegates handling of PHP-Requests to a number of loadbalanced, persistent PHP Processes using FastCGI. Andreas -- PHP Internals - PHP Runtime Development Mail

[PHP-DEV] Re: ref fix revisited

2005-09-14 Thread Andreas Korthaus
HP 5.0.4. And in 5.0.5 it's fatal error, not only notice. best regards Andreas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] ref fix revisited

2005-09-14 Thread Andreas Ahlenstorf
Am 14.09.2005 um 14:36 schrieb Derick Rethans: Since we can detect a ref to a temp var at call time now, how about making a local copy in the function and effectively treat it as a by-value arg and also issue an E_NOTICE or an E_STRICT? I think that would solve the corruption problem without b

Re: [PHP-DEV] ref fix revisited

2005-09-14 Thread Andreas Ahlenstorf
Am 14.09.2005 um 15:10 schrieb Derick Rethans: Of course it does, you have a ) too much. Besides this, the following I should drink more coffee... script does not make a fatal error: Fatal error: Only variables can be passed by reference in /home/www/ core/media.class.php on line 221

Re: [PHP-DEV] ref fix revisited

2005-09-14 Thread Andreas Ahlenstorf
Am 14.09.2005 um 15:40 schrieb Derick Rethans: $filename = sprintf('%s.%s', md5(uniqid(rand(), true)), array_pop (explode('.', $name))); echo $filename; D'oh - I see it. My ISP changed the PHP version once again. It's now PHP 5.0.5. I'm very very sorry for the confusion. A. -- PHP Inte

[PHP-DEV] Issues with PHP 5 on Windows 98

2005-09-27 Thread Andreas Ahlenstorf
Hi, I try do get PHP 5.0 running on a fresh Windows 98 box. Unfortunately there are some issues with some missing dlls. I was able to sort most of them out (e.g. missing ODBC32.dll), but there is at least one that I'm unable to fix. PHP (php5ts.dll) complains about a missing OLEAUT32.DLL

Re: [PHP-DEV] Issues with PHP 5 on Windows 98

2005-09-27 Thread Andreas Ahlenstorf
Am 27.09.2005 um 13:18 schrieb James Ellis: Why are you using Windows 98.. it's full of holes and has been superseded? For myself, I'm using a brand new G5 from that fruit company in California, running that shiny and blinking os (I really love it and I would never switch back). But we h

Re: [PHP-DEV] Issues with PHP 5 on Windows 98

2005-09-27 Thread Andreas Ahlenstorf
Am 27.09.2005 um 13:47 schrieb Steph: Any idea which export is missing? http:// www.dependencywalker.com/ has an easy-to-use tool for checking .dlls. A great hint. I already looked for such a tool but I never came across the right keywords for Google ;) I put the DependencyWalker image

Re: [PHP-DEV] Issues with PHP 5 on Windows 98

2005-09-27 Thread Andreas Ahlenstorf
Am 27.09.2005 um 15:47 schrieb Wez Furlong: It sounds like your system is broken. You should never copy these low-level system DLLs between windows versions. I'll never try it again :) My suggestion is to start with a fresh copy of win98 and install only MS updates to get the DLLs that you

Re: [PHP-DEV] timezones & date() breakage

2005-09-28 Thread Andreas Korthaus
extension with different interface in the documentation. Or why is the change of old functions like date() needed/useful? best regards Andreas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] timezones & date() breakage

2005-09-28 Thread Andreas Korthaus
about the work Derick and Pierre invested to add better Date support to PHP. If there is an OO API for the new code some day, I'll be very happy ;-) best regards Andreas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Issues with PHP 5 on Windows 98

2005-09-30 Thread Andreas Ahlenstorf
Am 27.09.2005 um 15:47 schrieb Wez Furlong: My suggestion is to start with a fresh copy of win98 and install only Just for information: It works now. I tried it with a fresh install of Windows 98, but there's still the problem with the missing export. After an install of Internet Explorer

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-10-22 Thread Andreas Korthaus
ome other values, the users cannot control, to avoid concurrency issues. Perhaps make a $_PERSISTENT variable only available for the script which has created it (by saving the path too, but if you move/rename..., and not very flexible anymore). Best regards Andreas PS: I've read the

[PHP-DEV] dropping curly braces (was: PHP 5.1.0R5 Released)

2005-11-17 Thread Andreas Korthaus
gs. Can someone tell me the reason for this decision? best regards Andreas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] dropping curly braces

2005-11-17 Thread Andreas Korthaus
a major project) is to reduce complexity and make scripts as easy to understand as possible. And PHP makes a good job here. But I think the {} -> [] change will reduce readability of scripts, because both programmers and "grep" can't differ arrays from strings using the [] synta

Re: [PHP-DEV] dropping curly braces

2005-11-17 Thread Andreas Korthaus
Rasmus Lerdorf wrote: Andreas Korthaus wrote: But you know without understanding of any context, that it's the 6th character of the string "$str". When you see $var[5], it could be the 6th character of a string, or an element of an array... and what about the value? You can

Re: [PHP-DEV] dropping curly braces

2005-11-17 Thread Andreas Korthaus
ntion, which is used a lot, and which is quite useful to increase readability of code as described in my other postings. I have no problem with changing my code if BC breaks, but in this case I'd be sad to loose the useful convention "[] for arrays and {} for strings". best reg

Re: [PHP-DEV] dropping curly braces

2005-11-17 Thread Andreas Korthaus
m probably wrong. For me it's more important to have the possibility to use a convention (like "$arrays[], $strings{}") in a project, not to drop something. Looks like if I will loose this possibility soon. best regards Andreas -- PHP Internals - PHP Runtime Development Mailing L

Re: [PHP-DEV] dropping curly braces

2005-11-18 Thread Andreas Korthaus
ace {} with [] syntax, but this will decrease readability - that's my only problem. best regards Andreas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Request for Threads or SRM

2005-11-24 Thread Andreas Korthaus
ut application-wide, not separated for each user. best regards Andreas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: AW: [PHP-DEV] Re: PDM Meeting Notes

2005-11-25 Thread Andreas Ahlenstorf
Am 25.11.2005 um 10:51 schrieb Matthias Pigulla: Because of bugs in the safe_mode implementation (forgetting some checks?) or conceptual problems? Safe mode doesn't work 'cos there are lots of third party libraries which PHP relies on and don't take care of the safe mode. That's why you c

Re: AW: [PHP-DEV] Re: PDM Meeting Notes

2005-11-25 Thread Andreas Ahlenstorf
That's why you can't assure security... Please read: ... this special type of security... Regards, A. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Change to timeout use

2005-12-21 Thread Andreas Schiffler
/ftp/ftp.c:2 ./ext/curl/streams.c:1 ./ext/soap/php_http.c:1 ./ext/session/session.c:3 ./ext/sockets/sockets.c:5 ./ext/standard/uniqid.c:1 ./ext/standard/lcg.c:1 ./ext/standard/fsock.c:1 ./ext/standard/streamsfuncs.c:4 ./ext/openssl/xp_ssl.c:2 ./main/streams/xp_socket.c:2 ./main/network.c:2 Bes

Re: [PHP-DEV] Change to timeout use

2005-12-21 Thread Andreas Schiffler
AD that implements this; otherwise, you'll have to wait until someone is motivated enough. OK. I understand that. I'll try my best to come up with a patch set then. Can someone point me to some documentation on how to do this? Is someone willing to assist me in making this patch?

Re: [PHP-DEV] Change to timeout use

2005-12-22 Thread Andreas Schiffler
Sebastian wrote: The PHP soap implementation is very fast by the way ... my benchmarks indicated 3-4ms request times on the LAN (without doing anything useful inside the request). This compares to over 30ms for the mod_perl/Soap::Lite implementation (and I haven't tested Java or .Net) Can

[PHP-DEV] PATCH - fractional timeouts

2005-12-22 Thread Andreas Schiffler
e what else to test right now ... but in particular, the changes I made to the FTP and IMAP code should get looked at for sanity (probably best by the maintainers). Best regards Andreas diff -Naur php-src-orig/ext/curl/streams.c php-src/ext/curl/streams.c --- php-src-orig/ext/curl/streams.c

[PHP-DEV] fractional timeouts

2006-01-10 Thread Andreas Schiffler
Hi all, I had posted a patch on 22 Dec for implementing fractional timeouts (by treating all timeout variables as floats). Did anyone had a look at it? Any comments? Cheers, Andreas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] native arbitrary precision datatype for PHP?

2006-03-28 Thread Andreas Korthaus
core. I think, 64 bit INTEGER and an "arbitrary precision numbers" datatype are the last major features missing in PHP! best regards Andreas PS: will a 64 bit INTEGER make it into PHP6? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] native arbitrary precision datatype for PHP?

2006-03-28 Thread Andreas Korthaus
with UNIX epoch timestamps after 2038. Of course, with 64-bit INTs there was no error to report. But that's the problem. You need a 64bit integer which is always 64bits regardless of your platform: http://www.php.net/~derick/meeting-notes.html#add-a-64bit-integer regards Andreas -- PHP Int

Re: [PHP-DEV] php 5.2.0

2006-05-02 Thread Andreas Korthaus
unctions.html.gz Perhaps some day, when it's ready... it could implement the 5 functions from ext/http too, and replace that extension without any BC-issues... best regards Andreas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Memcache session handler

2006-10-20 Thread Andreas Korthaus
age here? i.e. Can I provide it as an optional compile flag in the configure script? I think PECL:memcache is the perfect place for such a session-handler. best regards Andreas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] DateTimeImmutable

2013-03-27 Thread Andreas Heigl
(o o) +-----ooO-(_)-Ooo-+ | Andreas Heigl | | mailto:andr...@heigl.org N 50°22'59.5" E 08°23'58" | | htt

Re: [PHP-DEV] Continued try blocks

2013-04-26 Thread Andreas Heigl
gWithTheException($e); } try { $bar->doNext(); } catch(Exception $e) { doSomethingWithTheException($e); } try { $bar->doSomethingElse(); } catch(Exception $e) { doSomethingWithTheException($e); } be more what you are talking about? Re

Re: [PHP-DEV] Request #65501 uniqid(): More entropy parameter should be true by default

2013-08-22 Thread Andreas Heigl
ould be enabled and if it breaks there is one space to reset to the previous behaviour. > >> >> -- >> Yasuo Ohgaki >> yohg...@ohgaki.net > Regards Andreas -- ,,,

Re: [PHP-DEV] Regenerating session ID automatically when IP address has changed

2013-09-27 Thread Andreas Heigl
hile the legitimate user > gets kicked out. > > Not seeing how that improves things at all. So what about an ISP that changes the IP-Adress of it's clients e

[PHP-DEV] Re: PHP Object-Caching and Reference Counting

2007-01-19 Thread Andreas Korthaus
d. But I'm not sure if it's OK/complete... and I'm not sure if something like that is really needed in the core (and I'm definetly not the person to decide on that ;-)). Anyway, I attatched a simple patch against current 5_2 branch to this mail, perhaps it helps.

Re: [PHP-DEV] [VOTE] Void Return Type RFC

2015-10-28 Thread Andreas Heigl
P $a AND $b contain NULL in the end has nothing to do with the return type of the functions called but with the way PHP handles assignements. But without the void return type declaration we can't ev

Re: [PHP-DEV] Small regression in PHP-LDAP

2015-11-03 Thread Andreas Heigl
see that it's not supported. The only extension I'd see to it would be to check whether someone is trying that and raising an error in PHP describing that "this forma

Re: [PHP-DEV] Small regression in PHP-LDAP

2015-11-03 Thread Andreas Heigl
Am 03.11.15 um 20:07 schrieb Andrea Faulds: > Hi Andreas, > > Andreas Heigl wrote: >> +1 on that solution. Just throwing "host:port" onto something doesn't >> help anyone. Try that with "www.google.com:443" in your favourite >> browser. Most wi

Re: [PHP-DEV] Re: Small regression in PHP-LDAP

2015-11-05 Thread Andreas Heigl
try to prohibit such things in future). Cheers Andreas -- ,,, (o o) +-----ooO-(_)-Ooo-+ | Andreas Heigl

Re: [PHP-DEV] Re: static:: and PHP 7 (from bug #70997)

2015-11-30 Thread Andreas Heigl
function test() { >> A::test(); >> } >> } >> >> $b = new B; >> $b->test(); >> You are calling explicitly A::test(). When you call parent::test() everything works as you'd expect it. Have a look at https://3v4l.org/

Re: [PHP-DEV] Re: Anonymous voting on wiki

2016-01-10 Thread Andreas Heigl
voting ends*. In any case I'm sure that this is something that affects the whole RFC-Process and should be put up in a separate RFC and not just be implemented "en passant" in a few lines of code. And In my eyes, as it&#x

Re: [PHP-DEV] Re: Anonymous voting on wiki

2016-01-12 Thread Andreas Heigl
ng period is over the vote is publicly available. So everyone knows who voted what. Personally I'd opt for version 3 where the vote is *anonymous during the voting period only*. That way no one can be actively influenced

Re: [PHP-DEV] Re: Anonymous voting on wiki

2016-01-12 Thread Andreas Heigl
distinguish between technical votes on what way the language itself develops (which should always be open and as transparent as possible) and non-technical votes (which can be very personal and should therefore respect the privacy of the voter). Cheers Andreas --

Re: [PHP-DEV] Re: Anonymous voting on wiki

2016-01-12 Thread Andreas Heigl
Am 12.01.16 um 15:53 schrieb Zeev Suraski: > > >> -Original Message----- >> From: Andreas Heigl [mailto:andr...@heigl.org] >> Sent: Tuesday, January 12, 2016 4:21 PM >> To: Eli ; internals@lists.php.net >> Subject: Re: [PHP-DEV] Re: Anonymous voting on wik

Re: [PHP-DEV] Re: Anonymous voting on wiki

2016-01-12 Thread Andreas Heigl
ity, the vote should definitely be > public, and not secret. Definitely!!! And that requires an RFC that - at least in my eyes - needs a 2/3rd(+1) majority to be accepted *because* it concerns the future of the community! Cheers Andreas --

Re: [PHP-DEV] [RFC] [Re-proposed] Adopt Code of Conduct

2016-01-20 Thread Andreas Heigl
gt; https://wiki.php.net/rfc/adopt-code-of-conduct#constructive_collaboration_guidelines > > > I want this to work, and work together, to get this approved. > > cheers, > Derick Thank

Re: [PHP-DEV] Specific incident in relationship to the proposed Code of Conduct

2016-01-24 Thread Andreas Heigl
y that FEEL unhappy. A place they can come to whenever they FEEL something is going wrong to talk to someone to see whether the feeling might be accurat or not! And that's the point that is entirely missing in the whol

Re: [PHP-DEV] [RFC] Add PHP_ENGINE Constant

2016-02-03 Thread Andreas Heigl
upposed to be in. In all other cases feature-detection (function_exists/extension_loaded f.i.) should work fine to determine whether the used engine is able to run a certain function. And in the end the goal would be to not adapt the code to different runtine-engines but to adapt the runtime engin

Re: [PHP-DEV] RFC Proposal: Maybe monad and execution time polymorphic methods

2016-03-22 Thread Andreas Heigl
cts a user-object but can't get one it'll break. Throwing an exception makes it easy to react to that. But when the code has to check whether that's a mocked user object or a real user object it's about as good as returning null or eliminating the return type altogether as

Re: [PHP-DEV] Functorial interfaces

2016-05-12 Thread Andreas Heigl
So calling (new Bar())->foo(new BaseClass()) will fail as the method 'b' isn't implemented, but it should be according to the interface... Hope that helps ;) Cheers Andreas --

Re: [PHP-DEV] Future stability of PHP?

2023-04-11 Thread Andreas Leathley
On 11.04.23 15:56, Jeffrey Dafoe wrote: So turn off the deprecation warnings for now. They're just a heads up that behaviour is going to change in the future, with PHP 9. I doubt you'd prefer not to be aware of the change well in advance. Oh, absolutely. We run those "on" in our dev and QA envi

Re: [PHP-DEV] Moving PHP internals to GitHub

2023-04-12 Thread Andreas Heigl
missed the new takes that weren't discussed there or that might have changed since that discussion. At least apart from "there are a lot of new people around" and "the new people don't want to learn the rules" Looking forward to your TL;DR Cheers Andreas --

Re: [PHP-DEV] Moving PHP internals to GitHub

2023-04-12 Thread Andreas Heigl
cussions in GitHub issues. They're not perfect, but hey, neither are mailing lists. The vendor lock-in is one of the biggest issues that I see with the PHP-project. Adding the main discussion platform to the locked resources is probably not one of the best ideas.

[PHP-DEV] Improving Mailing-List interactions - was: [PHP-DEV] Moving PHP internals to GitHub

2023-04-13 Thread Andreas Heigl
ecessary anyhow as the list-unsubscribe header already should provide the email-clients with a way to show an unsubscribe button right in the email. Any volunteers helping are welcome! And please do voice concerns regarding point 1 Cheers Andreas --

Re: [PHP-DEV] Re: Improving Mailing-List interactions - was: [PHP-DEV] Moving PHP internals to GitHub

2023-04-13 Thread Andreas Heigl
Hey On 13.04.23 10:38, Tim Düsterhus wrote: Hi On 4/13/23 10:29, Andreas Heigl wrote: 1. Remove modification of the emails on the lists server so that DKIM and DMARC will finally work Yes, please, but for different reasons: Filtering is much more reliably performed using the 'li

Re: [PHP-DEV] Re: Improving Mailing-List interactions - was: [PHP-DEV] Moving PHP internals to GitHub

2023-04-13 Thread Andreas Heigl
On 13.04.23 10:50, Tim Düsterhus wrote: Hi On 4/13/23 10:46, Andreas Heigl wrote: DMARC is less of a concern, because the list apparently already performs DMARC mangling for a policy that is not 'none' Apart from (possibly) modifying the body and the subject line which then break

Re: [PHP-DEV] [RFC] [Discussion] Clone with

2023-04-18 Thread Andreas Hennings
feature of inline code blocks with return value or behaving as generator) clone $object with { ...{ yield 'a' => 'A'; yield 'b' => 'B'; }, ...{ return ['c' => 'C'], } } -- Andreas On Mon, 17 Apr 2023 at 08:32

Re: [PHP-DEV] [RFC] [Discussion] Clone with

2023-04-18 Thread Andreas Hennings
a cached instance with this value. I think the "clone with" is much more flexible because we can call this anywhere, not just in a dedicated method. This said, I do agree with some of the benefits of the "Alternative" proposal. -- Andreas On Mon, 17 Apr 2023 at 08:32, Máté K

Re: [PHP-DEV] [RFC] [Discussion] Clone with

2023-04-19 Thread Andreas Hennings
an array first, and then applied, or can php do a "shortcut" where it internally treats it as an argument list, even though the syntax implies array? The different will be small, but it could become relevant if called many times over. -- Andreas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

Re: [PHP-DEV] Re: [VOTE] PHP Technical Committee

2023-05-12 Thread Andreas Heigl
list and in the end the vote on an RFC should have the last say in regards to code. My 0.02€ Cheers Andreas -- ,,, (o o) +------

  1   2   3   4   5   6   >