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

2023-04-17 Thread Thomas Hruska
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 CubicleSoft

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

2023-04-12 Thread Thomas Hruska
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 unsubscribe, visit

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

2023-02-15 Thread Thomas Hruska
search 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 Hruska CubicleSoft President CubicleSoft has over 80 original open source projects and counti

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. Plus

Re: [PHP-DEV] RFC karma request

2023-02-12 Thread Thomas Hruska
ernals 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 open source projects and countin

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

2023-01-06 Thread Thomas Hruska
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 President CubicleSoft h

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

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

2022-12-12 Thread Thomas Hruska
re 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/retail produ

[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

[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
ed 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 some new ideas to think about/ponder. -- Thomas Hruska CubicleSoft President

[PHP-DEV] PHP 8 incompatible change documentation issues

2020-12-03 Thread Thomas Hruska
() 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 "Incompatible

Re: [PHP-DEV] Simplify classes syntax proposal

2020-05-01 Thread Thomas Hruska
-- 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
ny 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. http://cubiclesoft.com/ And once y

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

2020-03-24 Thread Thomas Hruska
/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 CubicleSoft President I've

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

2020-02-14 Thread Thomas Hruska
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 CubicleSoft President I've got great, time saving software that you will find useful. http

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

2020-02-11 Thread Thomas Hruska
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 President I've got great, time saving software that you will find

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

2020-01-28 Thread Thomas Hruska
s 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 software that you will find useful. http://cubiclesoft.com/ And once you find

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

2019-10-01 Thread Thomas Hruska
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 start executing userland code as if nothing is wrong. -- Thomas

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

2019-09-15 Thread Thomas Hruska
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 software that you will find useful. http://cubiclesoft.com/

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

2019-09-14 Thread Thomas Hruska
.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 find useful. http://cubiclesoft

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

2019-08-12 Thread Thomas Hruska
ar 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 Runtime Development Ma

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

2019-08-08 Thread Thomas Hruska
nt 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 CubicleSoft President I've got g

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

2019-08-06 Thread Thomas Hruska
rname (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://cubiclesoft.com/donate/ --

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

2019-07-08 Thread Thomas Hruska
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 unsubscribe, visit: http

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://cubiclesoft.com

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

2019-07-03 Thread Thomas Hruska
. The 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 software useful

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
. 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 Developme

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: http

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

2019-04-28 Thread Thomas Hruska
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 find my software u

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've got great

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 already

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
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 can benefit from the tool too. -- Thomas Hruska CubicleSoft

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

2019-04-11 Thread Thomas Hruska
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. http://cubiclesoft.com/ And once you find my

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

2019-03-25 Thread Thomas Hruska
. 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. http://cubiclesoft.com/ And once you find my software useful: http://cubiclesoft.com/donate

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

2019-02-04 Thread Thomas Hruska
quot;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 CubicleSoft President I've got great, time saving software that you will find useful.

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

2019-01-23 Thread Thomas Hruska
is wholeheartedly welcomed. I also probably missed some more functions which could be deprecated as of PHP 8 but I feel this covers already a large portion. Best regards George P. Banyard -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. ht

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
tore 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 Internals - PHP Runti

[PHP-DEV] php.net frequently hangs

2018-09-08 Thread Thomas Hruska
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 useful: http://cubiclesoft.com

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

2018-07-10 Thread Thomas Hruska
#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 Internals - PHP Runtime Development

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

2018-02-11 Thread Thomas Hruska
he 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've got great, t

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

2018-01-22 Thread Thomas Hruska
itpid() 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 of effort for little gain. -- Thomas Hruska

Re: [PHP-DEV] Personal Home Page

2018-01-04 Thread Thomas Hruska
burn too many bridges. When the deadline passes, you terminate service and they are no longer your client. To avoid the stress of potentially having to deal with lots of unhappy people all at once, you can select a subset of the clients every month or two, adjusting the approach as you go. -- Thoma

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

2017-12-12 Thread Thomas Hruska
g 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 Development Mailing List T

Re: [PHP-DEV] PHP 7.2.0 RC6 Released

2017-11-09 Thread Thomas Hruska
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://cubiclesoft.com/donate/ -- PHP Internals

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 <thru...@cubiclesoft.com> 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

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

2017-11-03 Thread Thomas Hruska
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 you find my software

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

2017-10-31 Thread Thomas Hruska
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 useful. http://cubicles

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 will find

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

2017-09-07 Thread Thomas Hruska
hat 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 sayin'. But you guys do whatever you want to do.

Re: [PHP-DEV] GD vs Imagick

2017-08-23 Thread Thomas Hruska
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: http://cubiclesoft.com/donate/ -- PHP

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

2017-07-29 Thread Thomas Hruska
of 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

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 find useful

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

2017-06-03 Thread Thomas Hruska
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 <internals@lists.php.net> Subject: [PHP-DEV] TLS v1.2 -only- deployments Over the past two weeks

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

2017-05-09 Thread Thomas Hruska
he 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 Development Mailing List To unsu

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

2017-04-22 Thread Thomas Hruska
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 Runtime Development Mailing List

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

2017-02-19 Thread Thomas Hruska
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/ -- PHP Internals - PHP Runtime Development Mailing List

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" <ka...@php.net> wrote: 2016-11-25 13:30 GMT+01:00 Thomas Hruska <thru...@cubiclesoft.com>: I need to be able to *modify* the original variable that was passed in. I already

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 <thru...@cubiclesoft.com>: I'm working on updating an extension for PHP 7 compatibility. I have one function that uses an optional zval ** with zend_parse_parameters().

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

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

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

2016-11-16 Thread Thomas Hruska
d_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-03 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 Hruska

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

2016-10-04 Thread Thomas Hruska
refactor back around 3 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 us

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

2016-10-04 Thread Thomas Hruska
/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." -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubic

Re: [PHP-DEV] HashDoS

2016-09-16 Thread Thomas Hruska
ash 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 - PHP Runtime Development Ma

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

2016-06-15 Thread Thomas Hruska
? 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/ -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] HashDos protection

2015-11-27 Thread Thomas Hruska
ipHash 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 great, time saving software th

Re: [PHP-DEV] HashDos protection

2015-11-27 Thread Thomas Hruska
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 - PHP Runtime Development Mailing List To unsubscribe

Re: [PHP-DEV] Compatibility library for extensions

2015-11-10 Thread Thomas Hruska
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). -- Thomas

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

2015-09-29 Thread Thomas Hruska
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 useful. http://cubiclesoft.com/ -- PHP Internals - PHP Runtime

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

2015-09-28 Thread Thomas Hruska
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
y vulnerabilities." If taint 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 I

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

2015-09-15 Thread Thomas Hruska
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 saving software that you

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 tyr...@gmail.com wrote: 2015.01.04. 4:13 ezt írta (David Muir davidkm...@gmail.com): On 4 Jan 2015, at 12:34 pm, Thomas Hruska thru...@cubiclesoft.com wrote: On 1/3/2015 4:56 PM, David Muir wrote

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

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 thru...@cubiclesoft.com wrote: On 12/28/2014 4:47 PM

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
. 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 great, time saving software

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

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

2014-12-01 Thread Thomas Hruska
-773-0963 Twitter: @yamiko_ninja On Sun, Nov 30, 2014 at 11:44 AM, Ferenc Kovacs tyr...@gmail.com wrote: On Wed, Nov 12, 2014 at 3:49 PM, Thomas Hruska thru...@cubiclesoft.com wrote: Posting here because I'm unable to subscribe to the PHP php.net internal infrastructure discussion mailing list

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 thru...@cubiclesoft.com wrote

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

2014-11-24 Thread Thomas Hruska
, 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 unsubscribe, visit: http://www.php.net

[PHP-DEV] PHP 5.3 windows binaries

2014-11-14 Thread Thomas Hruska
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://www.php.net

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

2014-11-12 Thread Thomas Hruska
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 Development Mailing List To unsubscribe, visit: http

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

2014-09-30 Thread Thomas Hruska
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://cubiclesoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

[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
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 software that you might find useful. http

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

2013-04-15 Thread Thomas Hruska
/invision_pboard_unserialize_exec.rb.txt -- 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] 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 useful. http

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

2013-02-14 Thread Thomas Hruska
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. -- Thomas Hruska CubicleSoft

Re: [PHP-DEV] [VOTE] array_column() function

2013-01-12 Thread Thomas Hruska
the PDO example will. I have a separate recommendation that could eliminate the need for the third optional parameter of array_column(), but I'll start another thread on this list for it. -- Thomas Hruska CubicleSoft President I've got great, time saving software that you might find useful

[PHP-DEV] array_map() function modification

2013-01-12 Thread Thomas Hruska
the keys array. Used in conjunction with array_column() being discussed in a separate thread, this could eliminate the need for array_column()'s third optional parameter. While having the third parameter in array_column() is still useful, this is a more general-purpose solution. -- Thomas Hruska

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 thru...@cubiclesoft.com wrote: This would allow developers to do things like: $keys = array('key1', 'key2', ..., 'keyn'); $vals = array('val1', 'val2', ..., 'valn'); $somemap = array_map($keys, $vals

  1   2   >