Re: [PHP-DEV] self-hosting (compiling context) PHP

2023-04-17 Thread Thomas Hruska
le or Externals. Robert Landers Software Engineer Utrecht NL Do you mean something like: https://github.com/cubiclesoft/php-app-server Or something more like Java which is written in Java? In that case, maybe: https://github.com/Corveda/PHPSandbox -- Thomas Hruska CubicleSoft President Cubicl

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

2023-04-12 Thread Thomas Hruska
isn't the right solution though. -- Thomas Hruska CubicleSoft President CubicleSoft has over 80 original open source projects and counting. Plus a couple of commercial/retail products. What software are you looking to build? -- PHP Internals - PHP Runtime Development Mailing List To uns

Re: [PHP-DEV] [RFC] Working With Substrings

2023-02-15 Thread Thomas Hruska
ll? Or should this just be a possible longer term idea that requires more thought and research and thus the scope should be limited and we put Lydia's idea under Future Scope in the RFC? Other thoughts/comments? Added as Open Issue 10 to the RFC. Thank you for your input. -- Thomas

Re: [PHP-DEV] [RFC] Working With Substrings

2023-02-14 Thread Thomas Hruska
On 2/14/2023 2:02 PM, Rowan Tommins wrote: On 14/02/2023 15:32, Thomas Hruska wrote: Hello Internals, I would like to start the discussion on adding several functions and parameters to existing functions for improved substring handling in PHP: https://wiki.php.net/rfc

[PHP-DEV] [RFC] Working With Substrings

2023-02-14 Thread Thomas Hruska
anticipated could come up, but I'm sure there will be others. Some are technical questions related to the source code while others deal with bikeshedding (function names, etc). -- Thomas Hruska CubicleSoft President CubicleSoft has over 80 original open source projects and counting. P

Re: [PHP-DEV] RFC karma request

2023-02-12 Thread Thomas Hruska
Dossche wrote: Dear internals I would like to gain RFC karma for creating and proposing an RFC: "Implement GH-9673: $length argument for fpassthru". Account name: nielsdos Thanks in advance Kind regards Niels -- Thomas Hruska CubicleSoft President CubicleSoft has over 80 original op

[PHP-DEV] A set of 18 functions/changes to improve PHP core

2023-01-06 Thread Thomas Hruska
ser could not be created." Requesting RFC karma for user 'cubic' (cu...@php.net) if possible. Thanks. I assume I'll need to create up to 18 separate RFCs unless one RFC is somehow fine? Not sure how this should be divvied up yet. -- Thomas Hruska CubicleSoft Pres

Re: [PHP-DEV] Revisiting RFC: Engine Warnings -- Undefined array index

2022-12-13 Thread Thomas Hruska
On 12/13/2022 7:15 AM, Derick Rethans wrote: On Mon, 12 Dec 2022, Thomas Hruska wrote: On 12/12/2022 3:52 PM, Derick Rethans wrote: On 12 December 2022 22:20:27 GMT, Dan Liebner wrote: It has been proposed to make the error level of "Undefined index" configurable so that

Re: [PHP-DEV] Revisiting RFC: Engine Warnings -- Undefined array index

2022-12-12 Thread Thomas Hruska
sinesses are waiting for at least the holidays to conclude before performing any major system upgrades if not longer for specific OS releases to drop. -- Thomas Hruska CubicleSoft President CubicleSoft has over 80 original open source projects and counting. Plus a couple of commercial/re

[PHP-DEV] zval_ptr_dtor_str(return_value)

2022-11-27 Thread Thomas Hruska
In ext/standard/file.c, when php_stream_read_to_str() fails, fread() calls: zval_ptr_dtor_str(return_value); Is there ever a situation where return_value can be a string that has to be freed? -- Thomas Hruska CubicleSoft President CubicleSoft has over 80 original open source projects and

[PHP-DEV] PHP_STREAM_TO_ZVAL

2022-11-24 Thread Thomas Hruska
actually happens. -- Thomas Hruska CubicleSoft President CubicleSoft has over 80 original open source projects and counting. Plus a couple of commercial/retail products. What software are you looking to build? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https

Re: [PHP-DEV] Sanitize filters

2022-10-11 Thread Thomas Hruska
the three main concepts are the important takeaways here, not the referenced userland code. My gut feel is that (a) is true, and there is no point considering what a new function would be called, because we don't know how to implement it. Perhaps the above will help to at least provide s

[PHP-DEV] PHP 8 incompatible change documentation issues

2020-12-03 Thread Thomas Hruska
ristr() and strrchr() can now be empty." I fail to see how this change is useful/correct. In my experience, passing in an empty string for the needle to any of those functions has always been part of a more critical application bug. I'm also not sure why this is in the "Inc

Re: [PHP-DEV] Simplify classes syntax proposal

2020-05-01 Thread Thomas Hruska
lAv8Q -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you find my software useful: http://cubiclesoft.com/donate/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-24 Thread Thomas Hruska
s. Doing that would fix so many Windows loader related issues that people have with getting the precompiled PECL extensions to work on Windows (especially with mixed SAPI environments). -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful.

Re: [PHP-DEV] Are PECL modules preferable?

2020-03-24 Thread Thomas Hruska
https://github.com/cubiclesoft/ultimate-web-scraper/blob/master/docs/emulate_curl.md On a side note, good PHP userland streams-based implementations are faster than the ext/curl extension. The ext/curl extension also doesn't emit as much useful debugging information. -- Thomas Hruska Cu

Re: [PHP-DEV] [RFC] token_get_all() TOKEN_AS_OBJECT mode

2020-02-14 Thread Thomas Hruska
uld be better for RAM usage but I can see how that might be complex to implement and largely not worth it since such scenarios will be rare and require the ability to maintain lexer state externally as you mentioned and would only be used by this part of the software. -- Thomas Hruska Cubicle

Re: [PHP-DEV] Re: [RFC] deprecate md5_file and sha1_file

2020-02-11 Thread Thomas Hruska
are completely fine though for other purposes such as detecting single-bit changes in file data where something a little more robust than CRC32 is needed but don't want to waste a lot of storage space. md5() and sha1() already have basic warnings applied. -- Thomas Hruska CubicleSoft Presid

Re: [PHP-DEV] Add viable long running execution model to php 8

2020-01-28 Thread Thomas Hruska
CP/IP servers than they are right now. A lot of careful thought needs to happen prior to writing bind(). Network code is quite notably hard to get right and complexity multiplies with multi-OS/platform support. -- Thomas Hruska CubicleSoft President I've got great, time saving soft

Re: [PHP-DEV] Error when POST / upload limits are exceeded

2019-10-01 Thread Thomas Hruska
parser would allow userland startup sequences to detect the problem globally and cleanly terminate the request BEFORE the core application logic is encountered. This shouldn't just be for files, it should be for any time the parser early-terminates input processing but then proceeds to s

Re: [PHP-DEV] Changing PECL signup flow.

2019-09-15 Thread Thomas Hruska
anges should allow extensions to be listed on PECL much more easily, without being too disruptive to the PECL site. Thoughts? Sounds good to me. I thought the php.net account was for incorporating new documentation? -- Thomas Hruska CubicleSoft President I've got great, time saving softw

Re: [PHP-DEV] PHP's declining(?) popularity

2019-09-14 Thread Thomas Hruska
erything I do is in PHP...but very little of it being actual web development. Whenever I bring those things up to people, I get funny looks that say, "PHP does CLI? Huh. Never knew that." -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will fi

Re: [PHP-DEV] P++: FAQ

2019-08-12 Thread Thomas Hruska
nk showed up near the top of Google Search results for me. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you find my software useful: http://cubiclesoft.com/donate/ -- PHP Internals - PHP Runti

Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags, again

2019-08-08 Thread Thomas Hruska
can't represent a class of an underserved population to bring forth awareness, justice, or action. In many cases, they are in better positions with sufficient contacts to reach the right people to bring forth such things that would otherwise never come to light. -- Thomas Hruska CubicleS

[PHP-DEV] RFCs and voting - feature requests + an oddity

2019-08-06 Thread Thomas Hruska
umn appears as "username (username)". Is that intentional, some kind of software limitation, or a bug? -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you find my software useful: http

Re: [PHP-DEV] [RFC] Deprecations for 7.4 - specifics

2019-07-08 Thread Thomas Hruska
in the mix too. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you find my software useful: http://cubiclesoft.com/donate/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscri

Re: [PHP-DEV] [RFC][VOTE] Deprecate curly brace syntax for accessing array elements and string offsets

2019-07-03 Thread Thomas Hruska
://github.com/cubiclesoft/ultimate-web-scraper/blob/master/support/tag_filter.php If deprecated, at least the linter will pick up the problem areas and flood log files. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesof

Re: [PHP-DEV] [RFC][VOTE] Deprecate curly brace syntax for accessing array elements and string offsets

2019-07-03 Thread Thomas Hruska
URL, as shown, doesn't go anywhere. Looks like it should be this: https://wiki.php.net/rfc/deprecate_curly_braces_array_access -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you find my softw

Re: [PHP-DEV] [RFC] Escape PDO "?" parameter placeholder

2019-07-02 Thread Thomas Hruska
On 7/2/2019 6:07 AM, Nikita Popov wrote: that it also exists elsewhere). The RFC argues against this because it makes writing a literal \? harder (which would be ?), but I think that \\? should result in the correct string. ? adds in an extra backslash. -- Thomas Hruska CubicleSoft

Re: [PHP-DEV] Trigger rebuild of DLLs for PECL extensions?

2019-05-11 Thread Thomas Hruska
ppens. Regards Anatol That was quick. Looks good now. Thanks! -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you find my software useful: http://cubiclesoft.com/donate/ -- PHP Internals - PHP Runtime

Re: [PHP-DEV] Trigger rebuild of DLLs for PECL extensions?

2019-05-11 Thread Thomas Hruska
On 5/11/2019 4:58 AM, Anatol Belski wrote: Hi, -Original Message- From: Thomas Hruska Sent: Saturday, May 11, 2019 1:39 PM To: PHP Development Subject: [PHP-DEV] Trigger rebuild of DLLs for PECL extensions? Is there a way to trigger the Windows DLL build process for a PECL extension

[PHP-DEV] Trigger rebuild of DLLs for PECL extensions?

2019-05-11 Thread Thomas Hruska
Is there a way to trigger the Windows DLL build process for a PECL extension without publishing a new release? -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you find my software useful:

Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags

2019-04-28 Thread Thomas Hruska
with short open tag support disabled and/or removed to convert from short open tags to full open tags and, in fact, has already been done. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you fin

Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags

2019-04-25 Thread Thomas Hruska
) for the secondary vote to remove PHP's short open tag in PHP 8. This passes in favor with 74%. Thanks for everyone who voted on this issue. Best regards George P. Banyard By the way, has anyone thought about the GDPR impact of this change? -- Thomas Hruska CubicleSoft President I&#x

Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags

2019-04-25 Thread Thomas Hruska
On 4/25/2019 12:57 AM, Côme Chilliet wrote: Le jeudi 25 avril 2019, 00:11:42 CEST Thomas Hruska a écrit : So I built a tool that meets the above minimum criteria and have already run it against a fairly extensive codebase (and have shared the tool with a few concerned folks - you've al

Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags

2019-04-25 Thread Thomas Hruska
On 4/25/2019 12:26 AM, Stephen Reay wrote: On 25 Apr 2019, at 14:11, Thomas Hruska wrote: sed-based solutions do NOT work. Neither of the two recommended options to date on this list are valid recommendations for serious software deployment managers. I have no issue with suggesting tools

Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags

2019-04-25 Thread Thomas Hruska
x27;-ask' mode and let it carefully modify a few thousand files by mashing my 'Y' key a bunch of times pausing briefly to look at interesting changes (which really only took a couple of hours and probably lowered the lifespan of that key on the keyboard a bit). I hope others c

Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags

2019-04-11 Thread Thomas Hruska
dge of passing/failing at the moment and could go a couple of unusual directions as already noted elsewhere. This is probably the most interesting RFC *vote* to happen in a long while. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful.

Re: [PHP-DEV] [RFC] Deprecate PHP's short open tags

2019-03-25 Thread Thomas Hruska
but '' would not - the latter, IMO, being more readable anyway. This doesn't change the fact that I'd still want a utility to automatically locate upgrade issues. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful.

Re: [PHP-DEV] New website for the PHP project

2019-02-04 Thread Thomas Hruska
comprehend code example. Uh...Get Started?" First time visitor: "Okay, that's great. Now tell me what is PHP in words I can understand and what can I use it for and is it popular?" A code example rarely, if ever, makes a good first impression. -- Thomas Hruska Cubicl

Re: [PHP-DEV] Deprecation ideas for PHP 8

2019-01-23 Thread Thomas Hruska
r hard drives via your application logs with deprecation warnings and crash your servers. Have fun sorting that mess out!" Finally, barring a serious security vulnerability, keywords should be viewed as permanent fixtures of the language. They can't be deprecated. That's why th

Re: [PHP-DEV] Don't silence fatal errors

2018-11-27 Thread Thomas Hruska
On 11/27/2018 8:26 AM, Nikita Popov wrote: On Tue, Nov 27, 2018 at 2:20 PM Thomas Hruska wrote: On 11/26/2018 2:42 PM, Nikita Popov wrote: Hi internals, When the silencing operator @ is used, the intention is generally to silence expected warnings or notices. However, it currently also

Re: [PHP-DEV] Don't silence fatal errors

2018-11-27 Thread Thomas Hruska
ler to restore previous (and almost correct) behavior is a bit obnoxious. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you find my software useful: http://cubiclesoft.com/donate/ -- PHP Intern

[PHP-DEV] php.net frequently hangs

2018-09-08 Thread Thomas Hruska
he site gets stuck like this is ~20 seconds. If I'm impatient, I can try again and it usually loads the page right away. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you find my software use

Re: [PHP-DEV] On not rushing things at the last minute

2018-07-10 Thread Thomas Hruska
ority over new features. Bug #73535 is still open, unaddressed, and unmitigated... -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you find my software useful: http://cubiclesoft.com/donate/ -- PHP

Re: [PHP-DEV][RFC][DISCUSSION] Deprecate the backtick operator

2018-02-11 Thread Thomas Hruska
hat way, the current behavior wouldn't change for existing applications but users could start taking advantage of whatever associated functionality is added. There are also significant security issues that arise when NOT using the @ operator. -- Thomas Hruska CubicleSoft President I&

Re: [PHP-DEV] PCNTL compatibility to Windows?

2018-01-22 Thread Thomas Hruska
dows APIs with minimal effort. pcntl_waitpid() might be able to be implemented with some effort but possibly not work properly for pids less than 1 (with all the usual waitpid() caveats). The signal handling are simply not doable. Implementing fork/exec doesn't make a lot of sense - a lot o

Re: [PHP-DEV] Personal Home Page

2018-01-04 Thread Thomas Hruska
nt to keep. Here are some alternate services we recommend moving to that we think will work really well for you: [Service list goes here.] Again, thank you." Fairly simple phrasing and hopefully won't burn too many bridges. When the deadline passes, you terminate service and they are n

Re: [PHP-DEV] Outstanding php.net account requests

2017-12-12 Thread Thomas Hruska
ess might be the deciding factor here in answering that question. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you find my software useful: http://cubiclesoft.com/donate/ -- PHP Internals - PHP Runtime D

Re: [PHP-DEV] PHP 7.2.0 RC6 Released

2017-11-09 Thread Thomas Hruska
. The only options I can think of are a slightly hacky solution or a cleaner solution that requires a BC-break. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you find my software useful: http://c

Re: [PHP-DEV] Inserting string keys in arrays at any position

2017-11-08 Thread Thomas Hruska
On 11/3/2017 7:46 AM, Bishop Bettini wrote: On Fri, Nov 3, 2017 at 9:51 AM, Thomas Hruska wrote: http://nikic.github.io/2014/12/22/PHPs-new-hashtable-implementation.html Ah. Very clever and cool. That memory layout does indeed pose a problem with random order insertions of string keys

[PHP-DEV] Inserting string keys in arrays at any position

2017-11-03 Thread Thomas Hruska
by making a few pointer adjustments. Shifting a few pointers around is usually magnitudes faster than performing memory allocations and copying data. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once

Re: [PHP-DEV] Re: RFC - Array Of for PHP 7

2017-10-31 Thread Thomas Hruska
y to look at the question that Tony put forth but in more concrete terms. Internals already tends to adhere to that sort of policy anyway even if it isn't formally written anywhere. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find usef

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

2017-09-09 Thread Thomas Hruska
On 9/9/2017 5:18 AM, Dan Ackroyd wrote: for when you forget to put break. Applying break statements is the first thing you should do if you intend to break. That way it can't be forgotten. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you

Re: [PHP-DEV] Consider only ignoring newlines for final ?> in a file

2017-09-07 Thread Thomas Hruska
operly (e.g. the suggested fix applied) so that I can finally close that browser tab. If you have the spare time for newline output adjustments, I'd love to see that extra energy sunk into fixing existing security vulnerabilities, especially those with CVEs and suggested solutions. Just say

Re: [PHP-DEV] GD vs Imagick

2017-08-23 Thread Thomas Hruska
ent efforts. A whole world of possibilities opens up when you learn C and you'll be a more well-rounded software developer too. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you find my software useful:

Re: [PHP-DEV] Changes to SuperGlobals for PHP 8 (was: something about session_start...)

2017-07-28 Thread Thomas Hruska
course, live with whatever is decided upon and adapt accordingly. Making some documentation adjustments seems like a simpler thing to do than a BC break. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once

Re: [PHP-DEV] json_encode() / json_decode() warnings

2017-07-28 Thread Thomas Hruska
y not survive a vote. 'false' is also valid JSON. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you find my software useful: http://cubiclesoft.com/donate/ -- PHP Internals - PHP

Re: [PHP-DEV] bugs.php.net website

2017-07-20 Thread Thomas Hruska
Interesting might be integrating https://3v4l.org/ so code samples are directly run (which of course won't work for code related to external things like databases or such) Scary website. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will f

Re: [PHP-DEV] Why hashtable keeps insertion order by default ?

2017-06-03 Thread Thomas Hruska
linked list in a single paragraph. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you find my software useful: http://cubiclesoft.com/donate/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] TLS v1.2 -only- deployments

2017-05-12 Thread Thomas Hruska
On 5/11/2017 4:08 AM, Anatol Belski wrote: Hi Thomas, -Original Message- From: Thomas Hruska [mailto:thru...@cubiclesoft.com] Sent: Tuesday, May 9, 2017 5:33 PM To: PHP Development Subject: [PHP-DEV] TLS v1.2 -only- deployments Over the past two weeks, I've observed quite a b

[PHP-DEV] TLS v1.2 -only- deployments

2017-05-09 Thread Thomas Hruska
be updated to use the version-specific string "tlsv1.2://" before the connecting code starts working again. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ -- PHP Internals - PHP Runtime Develop

[PHP-DEV] Source tar.gz's extract slowly on some platforms

2017-04-22 Thread Thomas Hruska
important, which makes this an observation unless, of course, this prompts someone to go forth and do something (whatever that might be). -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ -- PHP Internals - PHP

[PHP-DEV] Can someone add 'sync' to the bugs.php.net Package selection list?

2017-02-19 Thread Thomas Hruska
sy. I didn't realize what was going on until just now. Apologies for that. I'm hoping that the right person here will see this and update the list. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ --

Re: [PHP-DEV] Translating optional zval ** with zend_parse_parameters() to PHP 7

2016-11-25 Thread Thomas Hruska
On 11/25/2016 4:32 PM, Jakub Zelenka wrote: On 25 Nov 2016 20:43, "Kalle Sommer Nielsen" wrote: 2016-11-25 13:30 GMT+01:00 Thomas Hruska : I need to be able to *modify* the original variable that was passed in. I already use "|l" and zend_long elsewhere in the ext

Re: [PHP-DEV] Translating optional zval ** with zend_parse_parameters() to PHP 7

2016-11-25 Thread Thomas Hruska
On 11/25/2016 12:27 AM, Kalle Sommer Nielsen wrote: Hi Thomas 2016-11-25 4:13 GMT+01:00 Thomas Hruska : I'm working on updating an extension for PHP 7 compatibility. I have one function that uses an optional zval ** with zend_parse_parameters(). zval **zprevcount = NULL;

[PHP-DEV] Translating optional zval ** with zend_parse_parameters() to PHP 7

2016-11-24 Thread Thomas Hruska
, "|Z", &zprevcount) == FAILURE) return; ... if (argc > 0) { count = (int)PrevCount; zval_dtor(*zprevcount); ZVAL_LONG(*zprevcount, count); } What's the correct way to translate that in

Re: [PHP-DEV] Ask php cli to parse HTTP request

2016-11-16 Thread Thomas Hruska
.. is_uploaded_file(), move_uploaded_file(), sesssions, and other useful built-ins might also not work as expected. Hence the 75% metric from earlier. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Low Hanging Fruit

2016-11-02 Thread Thomas Hruska
. I've been busy with other things but, while researching the issue, I came up with a one-liner that has a pretty good chance of fixing the problem and there is even a consistent test case to demonstrate the problem. Bugfixes rarely get much more silver platter than that. -- Thomas H

Re: [PHP-DEV] Feature Request: inline pseudo-instruction

2016-10-04 Thread Thomas Hruska
nested for-loops. 6 nested for-loops is a disaster. What you've described here is indicative of code that needs to be completely scrapped and rebuilt from the ground-up. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http

Re: [PHP-DEV] Feature Request: inline pseudo-instruction

2016-10-04 Thread Thomas Hruska
lusively for a wide variety of reasons. I've rarely seen a need to use the other include/require keywords. Most of the time I see 'include', I usually think, "That code could be refactored to use 'require_once' and the author would be better off for it." --

Re: [PHP-DEV] HashDoS

2016-09-15 Thread Thomas Hruska
ing randomized starting hash values for djb2. Also of note, the 33 multiplier seems more critical than anything else for mixing bits together. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ -- PHP Internals -

Re: [PHP-DEV] PHP allocating too much memory

2016-06-15 Thread Thomas Hruska
ure rates. Guess which solution I used? Fortunately, in my case, the number of queries being run was quite limited and on a set schedule. You might not be so lucky. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com

Re: [PHP-DEV] HashDos protection

2015-11-27 Thread Thomas Hruska
to look at the results and the results I would be expecting to see wouldn't be there. I abuse PHP arrays. Especially on CLI. Sorry. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ -- PHP Internals - P

Re: [PHP-DEV] HashDos protection

2015-11-27 Thread Thomas Hruska
ively, default to SipHash for everything but the application developer could turn it off and on as needed at runtime. Put a warning in the documentation about the security of hashes and also mention leaving SipHash enabled when in doubt. -- Thomas Hruska CubicleSoft President I've got gre

Re: [PHP-DEV] Compatibility library for extensions

2015-11-10 Thread Thomas Hruska
mple of an extension using this compatibility layer, look at https://github.com/flaupretre/pecl-pcs. Feel free to comment, test, and suggest improvements. Regards François Oooh. Interesting. Saving for later when I get around to updating my PECL extension for PHP 7 (probably Q1 2016).

Re: [PHP-DEV] async/await - is future reserved words in PHP 7.x?

2015-09-29 Thread Thomas Hruska
his discussion dies here. But if so, then async/await is the most desirable solution, albeit being extremely evil and difficult to implement. https://channel9.msdn.com/Events/Build/2012/3-011 -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find usef

Re: [PHP-DEV] async/await - is future reserved words in PHP 7.x?

2015-09-28 Thread Thomas Hruska
where multithreaded functionality makes a lot more sense. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] taint

2015-09-16 Thread Thomas Hruska
aint is added to PHP without a suitable caveat lector, it merely adds another tool to my psychological profiling arsenal. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ -- PHP Internals - PHP Runtime D

Re: [PHP-DEV] Bumping minimal OpenSSL version to 0.9.8

2015-09-15 Thread Thomas Hruska
d version of OpenSSL together so there should be no issue IMHO. Cheers Jakub No one should be using anything less than 0.9.8 latest. Allowing anything less than 0.9.8 should be considered a security vulnerability in PHP. -- Thomas Hruska CubicleSoft President I've got great, time savi

Re: [PHP-DEV] I quit.

2015-02-15 Thread Thomas Hruska
it somewhere. So, thank you, PHP community. It has been a wonderful 2 years. Goodbye. -- Andrea Faulds http://ajf.me/ Thank you for being a responsible software developer. Not many developers are this forward and honest about their intentions/plans. -- Thomas Hruska CubicleSoft President

Re: [PHP-DEV] PHP 5.3 windows binaries

2015-01-19 Thread Thomas Hruska
On 1/4/2015 2:59 AM, Pierre Joye wrote: On Sun, Jan 4, 2015 at 12:35 AM, Ferenc Kovacs wrote: 2015.01.04. 4:13 ezt írta ("David Muir" ): On 4 Jan 2015, at 12:34 pm, Thomas Hruska wrote: On 1/3/2015 4:56 PM, David Muir wrote: Shouldn't this be directed to the webmaster ma

Re: [PHP-DEV] PHP 5.3 windows binaries

2015-01-03 Thread Thomas Hruska
On 1/3/2015 4:56 PM, David Muir wrote: Shouldn't this be directed to the webmaster mailing list? php-webmas...@lists.php.net See below. They said that they don't have access to that server. :) On 4 Jan 2015, at 4:45 am, Thomas Hruska wrote: On 12/28/2014 4:47 PM, Thomas Hr

Re: [PHP-DEV] PHP 5.3 windows binaries

2015-01-03 Thread Thomas Hruska
On 12/28/2014 4:47 PM, Thomas Hruska wrote: On 12/7/2014 10:52 PM, Thomas Hruska wrote: On 11/29/2014 6:27 AM, Thomas Hruska wrote: On 11/15/2014 12:13 AM, Pierre Joye wrote: Good point. They will remain in the archives part. We kept them after eol just in case there was a last min critical

Re: [PHP-DEV] PHP 5.3 windows binaries

2014-12-28 Thread Thomas Hruska
On 12/7/2014 10:52 PM, Thomas Hruska wrote: On 11/29/2014 6:27 AM, Thomas Hruska wrote: On 11/15/2014 12:13 AM, Pierre Joye wrote: Good point. They will remain in the archives part. We kept them after eol just in case there was a last min critical update (we had one actually :) I will remove

Re: [PHP-DEV] libmcrypt: abandonware?

2014-12-11 Thread Thomas Hruska
B OpenSSL library will get loaded anyway. php_win32_get_random_bytes() should be consistently accessible on Windows via an ext/standard userland function that gets random bytes of data. Other than mcrypt_create_iv(), I don't care about the rest of mcrypt. -- Thomas Hruska CubicleSoft President I've got gre

Re: [PHP-DEV] PHP 5.3 windows binaries

2014-12-07 Thread Thomas Hruska
On 11/29/2014 6:27 AM, Thomas Hruska wrote: On 11/15/2014 12:13 AM, Pierre Joye wrote: Good point. They will remain in the archives part. We kept them after eol just in case there was a last min critical update (we had one actually :) I will remove them asap. Bump. 5.3 binaries still on

Re: [PHP-DEV] Unable to subscribe to php.net website mailing list

2014-12-01 Thread Thomas Hruska
63 Twitter: @yamiko_ninja On Sun, Nov 30, 2014 at 11:44 AM, Ferenc Kovacs wrote: On Wed, Nov 12, 2014 at 3:49 PM, Thomas Hruska wrote: Posting here because I'm unable to subscribe to the "PHP php.net internal infrastructure discussion" mailing list. http://php.net/mailing-lists

Re: [PHP-DEV] PHP 5.3 windows binaries

2014-11-29 Thread Thomas Hruska
On 11/15/2014 12:13 AM, Pierre Joye wrote: Good point. They will remain in the archives part. We kept them after eol just in case there was a last min critical update (we had one actually :) I will remove them asap. Bump. On Nov 15, 2014 1:45 PM, "Thomas Hruska" wrote: P

Re: [PHP-DEV] enhance fget to accept a callback

2014-11-24 Thread Thomas Hruska
erialize() and Base64 encoding, which preserves PHP objects across the network and requires less effort. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To uns

[PHP-DEV] PHP 5.3 windows binaries

2014-11-14 Thread Thomas Hruska
ikely for the same reason of not having access to make those changes. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://w

[PHP-DEV] Unable to subscribe to php.net website mailing list

2014-11-12 Thread Thomas Hruska
get a message that says, "We were unable to subscribe you due to some technical problems. Please try again later." -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ -- PHP Internals - PHP Runtime De

Re: [PHP-DEV] [RFC] Move pecl_sync to core

2014-09-29 Thread Thomas Hruska
becomes "/Sync_Mutex_hello_0" in a POSIX named mutex object while the name is left as "hello" in a Windows named mutex object. Just a few thoughts. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesof

[PHP-DEV] Bug tracker is down

2013-09-27 Thread Thomas Hruska
bugs.php.net appears to be down. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you might find useful. http://cubiclesoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] When will 5.2 binaries be retired from windows.php.net?

2013-09-02 Thread Thomas Hruska
at I'm NOT saying is that the 5.2 binaries should come down right now. What I am saying is that the discussion and the plan formulated for their removal should take place if it hasn't already. -- Thomas Hruska CubicleSoft President I've got great, time saving softwar

Re: [PHP-DEV] [PROPOSAL] add a leading backslash to classname when serializing/var_exporting

2013-04-15 Thread Thomas Hruska
data without first establishing trust? There was a discussion not too long ago on this list about PHP executing __destruct() of unserialized class data from untrusted sources. Example recent exploit: http://packetstormsecurity.com/files/118064/invision_pboard_unserialize_exec.rb.txt -- Thomas

[PHP-DEV] Website down?

2013-03-14 Thread Thomas Hruska
I'm getting a HTTP 500 Internal Server Error on the php.net homepage (http://www.php.net/) from my local machine and a computer in a completely different state on a different network. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you might find use

Re: [PHP-DEV] File system watcher/monitoring

2013-02-14 Thread Thomas Hruska
ws API, you still run the risk of missing entries with NTFS if there are a bunch of updates back to back. It still qualifies as polling, but it is faster polling than scanning a large number of files and directories. It also only works with NTFS, so other mounted file systems won't work.

Re: [PHP-DEV] array_map() function modification

2013-01-12 Thread Thomas Hruska
$vals2)); That was indeed the intent. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you might find useful. http://cubiclesoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] array_map() function modification

2013-01-12 Thread Thomas Hruska
On 1/12/2013 10:46 AM, Alexey Zakhlestin wrote: On 12.01.2013, at 21:34, Thomas Hruska wrote: This would allow developers to do things like: $keys = array('key1', 'key2', ..., 'keyn'); $vals = array('val1', 'val2', ..., 'valn');

  1   2   >