Re: [PHP-DEV] How to trace a crash bug?

2010-03-26 Thread Thomas Hruska
m that builds everything in one go - maybe powered by an INI file of some sort. I know the snapshots for Windows seemed to do that but that system wasn't packaged up for consumption as far as I know. Everyone I've ever encountered who has built PHP found it rather difficult because

Re: [PHP-DEV] Obscure token name

2010-04-28 Thread Thomas Hruska
put off by changing this to T_DOUBLE_COLON? I for one would be. Zeev T_SCOPE_RESOLUTION_OPERATOR -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/ -- PHP Internals - PHP Runtime Development Maili

Re: [PHP-DEV] Type hinting

2010-05-25 Thread Thomas Nunninger
ternally.) I hope this post is not to offensive. Just wanted to make my point clear that I want to be able to use strict hinting, because I don't like the weak types regarding software quality. (No, I'm not using the wrong language.) Regards, Thomas > > >That said, I don't

Re: [PHP-DEV] Type hinting

2010-05-27 Thread Thomas Nunninger
as JSON), there is a difference if you store "42" , 42, or 42.0. IIRC I read on the CouchDB mailing list that this can influence view sorting. (As I strictly care about types in my application, I didn't had problems yet.) Thomas -- PHP Internals - PHP Runtime Development Mail

Re: [PHP-DEV] Bug in 5.3 __invoke() magic method?

2010-09-30 Thread Thomas Gutbier
ould prefer strongly unique identifiers for all types. -- Thomas Gutbier thomas.gutb...@anthrotec.de -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-11 Thread Thomas Hruska
rogramming language I have ever used. But I have definitely wanted such a feature on a few occasions. +1 for the feature and setting a new standard with an approach that makes sense. -- Thomas Hruska CubicleSoft President Barebones CMS is a high-performance, open source content management syst

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-11 Thread Thomas Hruska
On 11/11/2010 7:55 PM, Thomas Hruska wrote: On 11/11/2010 3:23 PM, Jonah H. Harris wrote: On Thu, Nov 11, 2010 at 3:57 PM, Jonah H. Harriswrote: On Thu, Nov 11, 2010 at 3:55 PM, Philip Olson wrote: I just registered for Wiki access and am waiting for the account to be approved. As soon as

Re: [PHP-DEV] Re: Supporting Binary Notation for Integers

2010-11-11 Thread Thomas Hruska
ar_dump("0b1" === 1); bool(true) bool(true) bool(false) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) Probably would be the same as "0x1". -- Thomas Hruska CubicleSoft President Barebones CMS is a high-performance, open source content management system

Re: [PHP-DEV] Magic quotes in trunk

2010-11-17 Thread Thomas Hruska
makes me too old.) -- Thomas Hruska CubicleSoft President Barebones CMS is a high-performance, open source content management system for web developers operating in a team environment. An open source CubicleSoft initiative. Your choice of a MIT or LGPL license. http://barebonescms.com/ -- PHP

[PHP-DEV] Re: Clarification on the Enum language structure

2011-02-14 Thread Thomas Gutbier
h to implement a enum language structure. The current rfc seams not very useful for me. Thanks! Thomas Gutbier Web Developer Hannover, Germany -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Make set_time_limit() timeout a catchable fatal error

2011-03-09 Thread Thomas Hruska
n_site_backup/ So, while it can and has been done, it does require a little extra work at the start of the script and obviously isn't as accurate as a dedicated function in PHP itself would be. -- Thomas Hruska CubicleSoft President Barebones CMS is a high-performance, open source content ma

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-19 Thread Thomas Hruska
The important part of this discussion is making sure convenient functionality doesn't just vanish for stupid reasons. I recognize there will be breakage regardless because it is a new major version, but looking ahead one extra byte isn't going to kill you. -- Thomas Hruska Cubicl

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-23 Thread Thomas Hruska
On 5/19/2011 9:00 AM, dukeofgaming wrote: @Thomas I agree on dropping<% for good, I personally don't know any project that uses it and don't think there is currently any point to them anymore. Also, I do use ' Yes. -- Thomas Hruska CubicleSoft President Barebones CMS is

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/ext/openssl/openssl.c trunk/ext/openssl/openssl.c

2011-07-23 Thread Thomas Hruska
code itself using either FIPS_mode_set() or a configuration file and then checking for FIPS with a call to FIPS_mode() from within the application. You're supposed to exit if you are expecting FIPS and it failed to initialize for whatever reason. -- Thomas Hruska CubicleSoft President Bareb

[PHP-DEV] Re: [php-maint] [PHP-DEV] Re: [PHP-DEV] PHP 5.3.9 and is_a changes

2011-10-24 Thread Thomas Goirand
ed when switching from 4 to 5. That is, of course, if we have enough human time to work on this. I hope that upstream PHP maintainers will also maintain 5.x for a while when they will start advising to switch to 6. Thomas Goirand (zigo) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [VOTE] DateTime and Daylight Saving Time Transitions

2011-10-26 Thread Thomas Nunninger
ats). Just ignore it internally if you don't need that information. Thomas Am Dienstag, 25. Oktober 2011 17:06:38 schrieb Daniel Convissor: > Hi Folks: > > Please take a moment to review the DateTime transitions RFC and vote on > it. I encourage voting on it to ensure we are all

Re: [PHP-DEV] Benchmarking 4.3.2 vs 4.1.2

2003-06-11 Thread Thomas Seifert
ead if each child (sorry, talking about apache-childs with mod_php here ;-)), has to fill its cache with that data. Sure it'll help, but how much? Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] retrieving and setting vars from own extension?

2003-06-17 Thread Thomas Seifert
ay to do this in the docs. Could you point me into the right direction? Btw. are there any more docs on the zend-api available than the section in the php.net-manual? Thanks, Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Possible solution for bug 18291

2003-06-22 Thread Thomas Lamy
Could someone please review this? It deals with properly quoted args (with spaces) in safe mode. Thanks. -- Thomas Lamy[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Possible solution for bug 18291

2003-06-22 Thread Thomas Lamy
Derick Rethans wrote: > > On Sun, 22 Jun 2003, Thomas Lamy wrote: > > > Could someone please review this? It deals with properly > quoted args (with > > spaces) in safe mode. > > Nothing here... please put it on a website and shows us the URL (the > list s

[PHP-DEV] bug # 22154

2003-06-22 Thread Thomas Lamy
... is still marked open (verified by sniper), but I can't verify with 4.5.0-dev (as of today). Even checked with a 20 MB file. Does anybody with karma has the time and faith to try the embedded example again, and then maybe close this one? Thomas -- Thomas Lamy[

Re: [PHP-DEV] Possible solution for bug 18291

2003-06-22 Thread Thomas Lamy
Derick Rethans wrote: > > On Sun, 22 Jun 2003, Thomas Lamy wrote: > > > Could someone please review this? It deals with properly > quoted args (with > > spaces) in safe mode. > > Nothing here... please put it on a website and shows us the URL (the > list s

[PHP-DEV] PHP 5.2.1 crashing Apache/IIS...

2007-02-09 Thread Thomas Hruska
a); $Data = str_ireplace("\n", "", $Data); $Data = str_ireplace("\r\n", "", $Data); $Data = str_ireplace("\n", "", $Data); $Data = str_ireplace("\r\n", "", $Data); $Data = str_ireplace("\n", "",

Re: [PHP-DEV] PHP 5.2.1 crashing Apache/IIS...

2007-03-02 Thread Thomas Hruska
William A. Rowe, Jr. wrote: Thomas Hruska wrote: Heads up! Installed the latest Win32 binaries of thread-safe PHP 5.2.1 on Win32 Apache and IIS. PHP started crashing (definitely PHP - php5ts.dll) when I went to access the MyProBB web forum. (Win32 Apache flat out crashes, IIS bails with HTTP

[PHP-DEV] GSoC, Mutation Testing, Ineligible

2007-03-27 Thread Thomas Koch
ndly ask you to tell me, who kicked me out and why? Should I write a longer abstract? Best regards, Thomas Koch -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: [fw-general] Re: [PHP-DEV] ZF 0.8.0 Unit Tests behaving different on PHP 5.2.1 and PHP 5.2.2-dev

2007-04-16 Thread Thomas Weidner
rsion will probably be changed until it's release it would be nonsense to fix bugs which may be not in there when the new version of php is released. But keep your good work going... you've already found some nasty bugs which have been fixed ;-) Greetings Thomas I18N Team Lead

Re: [PHP-DEV] __call_static() Magic Method

2007-07-14 Thread Thomas Moenicke
this pattern so I went with consistency. > > If noone comments to the negative, I'll commit next friday (7/20)... > > -Sara -- Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] [Discuss] Random Functions Throwing Exceptions in PHP 7.0.0

2015-08-22 Thread Thomas Bley
etc. Having core functions suddenly throw exceptions causes many problems in the code structure. Regards Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] [Discuss] Random Functions Throwing Exceptions in PHP 7.0.0

2015-08-23 Thread Thomas Bley
Scott Arciszewski wrote on 23.08.2015 02:50: > On Sat, Aug 22, 2015 at 8:33 PM, Thomas Bley wrote: >> Anthony Ferrara wrote on 22.08.2015 21:58: >> >>> All, >>> >>> I am putting a simple RFC up for discussion to make random_* throw >>> exce

Re: [PHP-DEV] [RFC] [Discuss] Random Functions Throwing Exceptions in PHP 7.0.0

2015-08-23 Thread Thomas Bley
random_int() might create bad passwords. So I propose to have a function in core which tests the strength of the password: $password = ''; for ($i = 0; $i < 10; $i++) { $password .= $characters[random_int(0, 30)]; } if (password_strength($password) < PHP_PASSWORD_STRONG) { throw new Exception("password not strong enough"); } Regards Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] [Discuss] Random Functions Throwing Exceptions in PHP 7.0.0

2015-08-23 Thread Thomas Bley
Larry Garfield wrote on 23.08.2015 18:19: > On 08/22/2015 07:33 PM, Thomas Bley wrote: >> Anthony Ferrara wrote on 22.08.2015 21:58: >> >>> All, >>> >>> I am putting a simple RFC up for discussion to make random_* throw >>> exceptions on failu

Re: [PHP-DEV] [RFC] [Discuss] Random Functions Throwing Exceptions in PHP 7.0.0

2015-08-23 Thread Thomas Bley
Nikita Nefedov wrote on 23.08.2015 18:27: > > >> On 23 Aug 2015, at 18:37, Thomas Bley wrote: >> >> >> consider this code: >> >> declare(strict_types=0); >> ini_set('display_errors', '1'); >> >> function ge

RE: [PHP-DEV] [RFC] [Discussion] Short Closures

2015-09-01 Thread Thomas Punt
Hi Bob, > I had this RFC in draft since some time, but delayed it due to all the > ongoing PHP 7 discussions. Also we have no master branch to merge features in > until 5.4 EOL. Thus I'm reviving this now. > > Time for the first RFC targeting PHP 7.1 (assuming PHP 8 isn't going to be > the next

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] 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] Make strict mode more strict?

2015-09-16 Thread Thomas Bley
e.g.: $params = array('a', 'b'); $params = json_encode($params); So I would extend the declare parameters: declare(strict_types=1, strict_declare=1); function foo(int &$i) { $i = "string"; // Raise error ... Regards Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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] 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] [RFC] Arrow Functions

2015-10-03 Thread Thomas Bley
o would use the syntax daily). > > -- > > Regards > Pavel Kouřil > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > I would prefer to keep the current syntax and just a different keyword for autobindung: function ($x) use ($a, $b, $c) { $z = foo($a, $b); return $c($z, $x); } function ($x) autobind|autouse|use_all|autoimport|etc. { $z = foo($a, $b); return $c($z, $x); } Regards Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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] 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] HashDos protection

2015-11-27 Thread Thomas Hruska
On 11/27/2015 2:21 PM, Yasuo Ohgaki wrote: Hi Thomas, In practice, we wouldn't have problems with max number of collisions. Is CLI going to be or can CLI be excluded from max collisions? After thinking about it for a long while, that's my only area of concern here. SAPI can (fa

[PHP-DEV] [RFC] Number Format Separator

2015-12-30 Thread Thomas Punt
Hi internals! I'd like to propose for the inclusion of a digit separator in PHP. This will help to promote the readability of numerical literals in code by enabling for the underscore character to be used in between digits. RFC: https://wiki.php.net/rfc/number_format_separator PR: https://github.

RE: [PHP-DEV] [RFC] Number Format Separator

2016-01-12 Thread Thomas Punt
> Hi internals! > > I'd like to propose for the inclusion of a digit separator in PHP. This will > help to promote the readability of numerical literals in code by enabling for > the underscore character to be used in between digits. > > RFC: https://wiki.php.net/rfc/number_format_separator > PR: h

RE: [PHP-DEV] [RFC] Number Format Separator

2016-01-12 Thread Thomas Punt
Hi Christoph, > echo 1_000; > will print > 1000 > > I think it is important to explicitly note that in the RFC. > > With regard to "stringy numerics": besides the potential BC break, IMHO > there is no need to support digit separators for string literals at all, > because that could easily be prov

[PHP-DEV] [RFC][VOTE] Number Format Separator

2016-01-13 Thread Thomas Punt
Hi internals! Voting has opened for the inclusion of a digit separator in PHP[1]. Voting ends in one week's time on January 20th. Thanks, Tom [1]: http://wiki.php.net/rfc/number_format_separator -- PHP Internals - PHP Runtime Development Mailing List To un

RE: [PHP-DEV] [RFC][VOTE] Number Format Separator

2016-01-14 Thread Thomas Punt
Hi Björn, > Well, if I had a vote it would definetly be +1. A small question > though, why is the voting period only one week (small RFC or)? The RFC is quite simple and short, so I thought a one week voting period would suffice. I'm more than happy to extend this though if people don't think the

Re: [PHP-DEV] [RFC] Allow specifying keys in list()

2016-01-18 Thread Thomas Bley
What about using objects with list()? class Point { public function __construct($x, $y) { $this->x = $x; $this->y = $y; } } $point = new Point(21, 42); list('x' => $x, 'y' => $y) = $point; Regards Thomas Andrea Faulds wrote on 17.01.2016 03:32: > Hi ever

[PHP-DEV] RE: [RFC][VOTE] Number Format Separator

2016-01-20 Thread Thomas Punt
Hi internals! > Voting has opened for the inclusion of a digit separator in PHP[1]. Voting > ends in > one week's time on January 20th. Voting has now ended with 20 for and 18 against. This means the RFC has been declined. Thank you to all who participated in the RFC discussion and voting! -To

Re: AW: [PHP-DEV] [RFC] Allow specifying keys in list()

2016-01-20 Thread Thomas Bley
o, SomeClass {a: string $a, b: int &$b, c: bool $c = true}) { ... work with $foo, $a, $b, $c } $o = new SomeClass(); $o->a = 'bar'; $o->b = 42; bar('foo', $o); Regards Thomas Robert Stoll wrote on 20.01.2016 22:20: > Hi Andrea > > I am writing you in private

Re: [PHP-DEV] [RFC] Deprecations for PHP 7.1

2016-02-18 Thread Thomas Bley
t in the immediate future. > > Thanks, > Nikita > I'm proposing: allow_url_include Regards Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] Re: [RFC Proposal] var keyword deprecation/removal

2016-02-18 Thread Thomas Punt
Hi! > I do have a general question about these types of changes: if the > deprecation were to land in 7.1, when would the actual removal take place - > 7.2 or 8.0? Or would that be a voting option? It would have to be done in 8.0, since removing it would constitute a BC break. It's worth noting

RE: [PHP-DEV] [RFC Discussion] "var" Deprecation

2016-03-11 Thread Thomas Punt
Hi! > Hello all, > > I have completed my initial draft of the RFC to deprecate "var" in favor of > "public": https://wiki.php.net/rfc/var_deprecation > > I would greatly appreciate any feedback on this RFC, especially with the > following: > > - Ensuring that all major arguments for & against have

RE: [PHP-DEV] [VOTE] var deprecation

2016-03-25 Thread Thomas Punt
Hi Dmitry, > Java is going to add "var" (http://openjdk.java.net/jeps/286), we are going > to remove... We're not going to remove the "var" keyword, just deprecate its usage in the context of setting properties as public. The "var" keyword will still remain a reserved word, and it can therefore

RE: [PHP-DEV] Re: Improving PHP's type system

2016-04-17 Thread Thomas Punt
Hi! >> Just a quick thought. >> >> >> union Iterable { >> use array; >> use ArrayAccess; >> use Traversable; >> } >> > > I think this example creates another meaning on the "use" syntax, which > make "use" context depended. > > The "use" statement is already used to "create an class name alias in

Re: [PHP-DEV] [RFC] Nullable Types

2016-04-20 Thread Thomas Bley
What do you think about default return values? e.g. function foo(): db_result = null { } function canLogin(): bool = false { } Regards Thomas Dmitry Stogov wrote on 20.04.2016 18:13: > What we really miss now, is an ability to define nullable return types. > > > https://wiki

Re: [PHP-DEV] [RFC] Nullable Types

2016-04-21 Thread Thomas Bley
} Regards Thomas f...@thefsb.org wrote on 21.04.2016 15:05: > Hi Thomas, > > > What is a default return declaration? Is this for branches within the function > that do not lead to a return statement? > > > Tom > > > > > > From: Thomas Bley > Sen

Re: [PHP-DEV] [RFC] Nullable Types

2016-04-21 Thread Thomas Bley
> Note that the same /would/ be possible with union types if given precedence: > > function fn(): int|false {} false is currently not supported in the union_types rfc. Regards Thomas Fleshgrinder wrote on 21.04.2016 21:33: > On 4/21/2016 6:33 PM, Thomas Bley wrote: >> Hell

RE: [PHP-DEV] [RFC] PHP Attributes

2016-04-22 Thread Thomas Punt
Hi Dmitry! > Hi, > > > I would like to present an RFC proposing support for native annotation. > > The naming, syntax and behavior are mostly influenced by HHVM Hack, but not > exactly the same. > > The most interesting difference is an ability to use arbitrary PHP > expressions as attribute val

Re: [PHP-DEV] [RFC] PHP Attributes

2016-04-23 Thread Thomas Bley
istributions with long term support on 7.0, this is rather a nightmare for both users and framework maintainers. When choosing <<>> or any other non-backward compatible syntax for 7.1, there should be a patch for 7.0 to ignore the new syntax without parse errors. Regards Thoma

RE: [PHP-DEV] [RFC] PHP Attributes

2016-04-24 Thread Thomas Punt
Hi! > From: dmi...@zend.com >> On 04/22/2016 02:46 PM, Thomas Punt wrote: >> Hi Dmitry! >> >> Just a couple of comments on this: >> >> 1. I'd definitely reuse the php-ast extension for parsing the code into an >> AST. It performs a number of trans

Re: [PHP-DEV] [RFC] PHP Attributes

2016-04-24 Thread Thomas Bley
anies skipped the migration hell and stayed with old and unsupported versions. Regards Thomas Benoit Schildknecht wrote on 24.04.2016 01:48: > If I was a popular framework creator, this wouldn't stop me. I would > release two packages : one for 7.0, another one for 7.1. And the 7.0 one >

Re: [PHP-DEV] [RFC] Pipe Operator

2016-04-29 Thread Thomas Bley
Hey, to me recursion and pipe operator looks really hard to read, I guess this is faster and better readable: foreach (scandir($arg) as $x) { if ($x == '.' || $x == '..') { continue; } $x = $arg . '/' . $x; // inline getFileArg ... $allFiles[] = $x; }

RE: [PHP-DEV] [RFC] Pipe Operator

2016-04-30 Thread Thomas Punt
Hi! > From: ocram...@gmail.com > > I would say that this makes the entire functional approach: > > 1. more readable > 2. easier to debug (woah, we can haz line numbers for failures!) > > Here's the pseudo-code for a typical request/response dispatch cycle: > > $request = getGlobals() > |> parseReq

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] 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] self-hosting (compiling context) PHP

2023-04-17 Thread Thomas Krüger
I guess Robert's idea is more like the "pypy" project for Python, which is a fast Python interpreter written in Python. So, there are examples of PHP interpreter/VMs written in PHP: https://github.com/ircmaxell/PHPPHP Best regards, Thomas Am 17.04.2023 20:21 schrieb Thomas H

Re: [PHP-DEV] PHP 8 Backward Incompatible Change Notifications

2023-05-18 Thread Thomas Bley
quot;var_dump(0 == (int) '');" php -r "var_dump(42 == (int) ' 42');" php -r "var_dump(42 == (int) '42foo');" gives: bool(true) bool(true) bool(true) bool(true) bool(true) bool(true) Best Regards Thomas > Alan Smithee hat am 18.05.2023 2

[PHP-DEV] Issue with php.net

2023-10-30 Thread Thomas Nunninger
Hi, sorry, I don't know where to send this. But When visiting https://www.php.net/ I get a certificate error: The provided certificate is for www.caruso.ovh. When visiting http://www.php.net (http only), I get redirected to http://www.caruso.ovh/ Regards Thomas -- PHP Internals

Re: [PHP-DEV] [Discussion] Variable Type Declaration Before Usage

2023-11-07 Thread Thomas Gutbier
Var; // 3 $intVar = 'x'; // Fatal error: Uncaught TypeError ``` https://3v4l.org/GFNgp#v8.2.11 Greetings Thomas Gutbier -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

Re: [RFC] OOP API for cURL extension

2024-02-15 Thread Thomas Bley
)? (see https://github.com/phpstan/phpstan-src/blob/1.11.x/src/Reflection/ParametersAcceptorSelector.php#L562) Regards Thomas

Re: [PHP-DEV] [Early Feedback] Pattern matching

2024-06-20 Thread Thomas Bley
la...@garfieldtech.com Thank you! > $var is *; // Matches anything, more useful in the structure patterns below. maybe also consider: $var is mixed; // Matches anything, more useful in the structure patterns below. > // Array application, apply a pattern across an array > $foo is array; // All values in $foo must be strings > $foo is array; // All values in $foo must be ints or floats +1 Regards Thomas

Re: [PHP-DEV] [Concept] Flip relative function lookup order (global, then local)

2024-08-02 Thread Thomas Nunninger
g. intercept calls to the file system when running tests where the application was not designed with test-ability in mind. Regards, Thomas

Re: [PHP-DEV] print with newline

2019-03-10 Thread Thomas Punt
> From: Steven Penny > Sent: 04 March 2019 15:30 > To: internals@lists.php.net > Subject: Re: [PHP-DEV] print with newline > > I think the best option is a new function like "puts" or "posix_puts". I'm fairly neutral on the feature, but I disagree with this being a function. It should be a langua

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] [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] [VOTE] Deprecate PHP's short open tags

2019-04-24 Thread Thomas Bley
Hello, I understand that breaking changes always need extra work, but in this case I think it's a quick change. On my code base (mostly legacy with 1.8m lines), I ran this and got 10 matches to check: grep -rin " vsura...@gmail.com hat am 24. April 2019 um 15:41 geschrieben: > > > FWIW, > >

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-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
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
) 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] Revive Number Format Separator RFC

2019-04-27 Thread Thomas Punt
Hi! > On Fri, Apr 26, 2019 at 4:30 PM Theodore Brown wrote: > > > On Fri, Apr 26, 2019 at 6:10 AM Rowan Collins > > wrote: > > > > I'm not particularly against this proposal, but I'm not sure how often I'd > > use it. > > How often you use numeric separators depends on what you are doing. > I d

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] Revive Number Format Separator RFC

2019-05-01 Thread Thomas Punt
Hi! > On Wed, May 01, 2019 at 01:13 AM Bishop Bettini wrote: > > On Tue, Apr 30, 2019, 19:14 Theodore Brown > > > On Tue, Apr 30, 2019 at 3:59 PM Bishop Bettini wrote: > > > > > Excellent. I hope we can make the case this time. Please > > > request Wiki karma [1], and we'll iterate on it there.

Re: [PHP-DEV] Revive Number Format Separator RFC

2019-05-02 Thread Thomas Punt
> On Wed, May 02, 2019 at 03:00 AM Bishop Bettini > mailto:bis...@php.net>> wrote: > > Great, thanks Tom. Theodore and I are polishing the RFC, then will tackle the > implementation. Besides the necessary merge fixes, are there any > changes/improvements you specifically want to make in the new

[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] 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

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] [PATCH] Add configuration value to enable/disable stack trace logging

2019-06-17 Thread Thomas Lamy
ustomer/project/" no longer in the trace would be more readable for the developer, and, in case somebody has dispay_errors=on, a bit less of information disclosure. Just my 2c Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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] [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][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] 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

[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] [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

Re: [PHP-DEV] [RFC] Namespace-scoped declares, again

2019-08-12 Thread Thomas Nunninger
ly with the declare statements as defined in composer.json. Not sure: Perhaps you even do not need a new concept of a resolver but could extend the concept of autoloaders? Regards Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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] Reclassifying engine warnings

2019-08-28 Thread Thomas Bley
new code with sth like declare(strict_variables=1); or declare(SomeNamespace\Foo:strict_variables=1); That way, people can write new code in a better way, include new libraries and upgrade old code piece by piece without any big pressure. Regards Thomas > Matthew Brown hat am 28. August 2

Re: [PHP-DEV] [RFC] Reclassifying engine warnings

2019-08-30 Thread Thomas Bley
haviour punishes > future users of PHP for our past mistakes. > > On Aug 28, 2019, at 12:05 PM, Thomas Bley wrote: > > > > Normally every code base has old and new code, some is actively maintained, > > some is probably third-party maintained, some is unmainta

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

<    1   2   3   4   5   >