Re: [PHP-DEV] [Discussion] Thoughts on casting to null

2024-02-15 Thread Григорий Senior PHP / Разработчик Web
function to "task" available to call it later somewhere, maybe in another promise ``` Why is the PHP implementation redesigned from scratch instead of using the idea of the one that works? ps. Guess, the discussion to change syntax that you cold rewrite with single line: ``` // >

Re: [RFC] OOP API for cURL extension

2024-02-15 Thread Григорий Senior PHP / Разработчик Web
Working with remote servers is a little bit harder than just catching the exception. Just implement OOP stuff gives no benefit except "do not read the docs, but use IDE". Usually count of curl options is so big that it wont help. And also, there's multicurl too. There's batch calling with limit t

Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-09 Thread Григорий Senior PHP / Разработчик Web
> I've worked on PHP (and non-PHP) applications with (tens of) millions of lines of code Grats, you're a hero. Now, you're a hero. You can solve the application in your paper notebook. That does not explain why computers should know some correctness and not help you, because

Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-08 Thread Григорий Senior PHP / Разработчик Web
1. Do some benchmark with ```

Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-08 Thread Григорий Senior PHP / Разработчик Web
times on the Earth - firing out developers who "know the truth", hiring cheap developers who "just do". You could believe in correctness or help people who need that help. I understand that php spent many years on fast solutions, and btw, I am glad to write code with PHP, even wit

Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-08 Thread Григорий Senior PHP / Разработчик Web
Just because PHPStan is a ready solution for design errors that you can predict. My case is about errors that you detect later, after the design is finished, PHPStan shows you that "all done!". Because it's not \LogicExceptions (types, mappings), it's all \RuntimeExceptions... You have to implemen

Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-08 Thread Григорий Senior PHP / Разработчик Web
Ok, I understand your position. Want explanations about personal behavior - please write by telegram. PHPStan is out the case. SOLID is not a marker of good architecture, it's a marker of idealistic understanding, for me. I already long ago passed that time where I can just say "this code is bad

Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-07 Thread Григорий Senior PHP / Разработчик Web
JIT I've had this solved, not only the application, but a way to. Am sharing my experience without labels "bad", "cood", "truth" or "correct", like you did. Your arguments are based on your principles and I don't see in your words any point to discuss, so - use pm or share here secret of error-fr

Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-07 Thread Григорий Senior PHP / Разработчик Web
I still don't understand why the problem is signature and moving a simple throw statement to return type, and then rewriting the catch statement to oneline-r. I am completely satisfied with the php way of working with method signatures except non-critical cases: - still no `undefined` typ

Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-07 Thread Григорий Senior PHP / Разработчик Web
All other cases should be covered without exceptions. If you use exceptions on any occurred error as "truth way" you will meet risk and also timeloss on any misformatted batches/user-inputs. ср, 7 февр. 2024 г. в 18:06, Григорий Senior PHP / Разработчик Web < 6562...@gmail.com>:

Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-07 Thread Григорий Senior PHP / Разработчик Web
Analyzing the problem on a single level operation is incorrect. New code and simple operations are fully covered with exception/try/catch flow. The main point i tried to attract your attention is that if you working in batches/queues/pipelines you still need errors collection, and if you made erro

Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-07 Thread Григорий Senior PHP / Разработчик Web
ction itself won't change existing code then, it works like an observer pattern now. ср, 7 февр. 2024 г. в 13:21, Robert Landers : > On Tue, Feb 6, 2024 at 9:22 PM Larry Garfield > wrote: > > > > On Tue, Feb 6, 2024, at 7:56 PM, Григорий Senior PHP / Разработчик Web > wr

Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-06 Thread Григорий Senior PHP / Разработчик Web
Thanks for suggestion about assert() use cases, i know it exists before, but never used. Usually if something shouldn't happen i throw exception there, or at least type control. Its like manual mark for the future - you doing something wrong, fix it. Error collection case its about "you're right,

Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-06 Thread Григорий Senior PHP / Разработчик Web
from within - once you integrate a really bad external system with its own checks, which are described in hundreds of documents, I'm sure you'll encounter new bugs once the "working" code is released to production. And then you will need to quickly and easily reorganize i

Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-06 Thread Григорий Senior PHP / Разработчик Web
and that while (true) and then/catch should be different patterns. вт, 6 февр. 2024 г. в 19:08, Григорий Senior PHP / Разработчик Web < 6562...@gmail.com>: > My function seems like this: > > ``` > _error_bag_error(error) { > if (stack.errorBag) { > stack.errorBag.add(er

Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-06 Thread Григорий Senior PHP / Разработчик Web
is just a bad idea. People will shove megabytes of logs > into it in a loop and them file reports "why is php using 2 GB of RAM?" - > this is literally a daily question you get woth relation to Doctrine when > people try to run bulk operations, do not disable trace logger and them

Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-06 Thread Григорий Senior PHP / Разработчик Web
se global error bag stack that you can enable or disable for your needs outside function ("in controller", GRASP) or inside function directly like old good times $errors[] and if ($errors) { return null; } вт, 6 февр. 2024 г. в 18:23, Alex Wells : > On Tue, Feb 6, 2024 at 3:58 PM

Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-06 Thread Григорий Senior PHP / Разработчик Web
ecial decorator or additional command could initiate the raise collector right in the function ! You collect only the cases you want to collect. That's the difference. вт, 6 февр. 2024 г. в 18:20, Alexander Pravdin : > On Wed, Feb 7, 2024 at 12:00 AM Григорий Senior PHP / Разработчик Web > &l

Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-06 Thread Григорий Senior PHP / Разработчик Web
rs could be collected as a stack on language level. Directly in place you need that stack instead of everywhere. Also forcing to close applications is safe-shield, instead of validation errors that could be found anywhere. PHP devs in most even imagined a solution that "you have to do validati

[PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301

2024-02-06 Thread Григорий Senior PHP / Разработчик Web
Hello, please discuss about error collecting implementation in next PHP releases Exceptions have common differences that restrict using them to collect errors 1. Timeloss (trace collection) on call new() on any class that implements \Throwable 2. To collect errors and return it to the upper level

Re: [PHP-DEV] `PDO::FETCH_CONSTRUCTOR` fetch mode proposal

2024-01-19 Thread php
d be automatically supported by this new fetch mode right? And indeed, it would be useful to use named parameters if available. I overlooked this possibility in my response to Saki. Kind regards, Frederik van der Els -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

Re: [PHP-DEV] `PDO::FETCH_CONSTRUCTOR` fetch mode proposal

2024-01-19 Thread php
ppy to hear other ideas. Kind regards, Frederik van der Els -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

Re: [PHP-DEV] `PDO::FETCH_CONSTRUCTOR` fetch mode proposal

2024-01-18 Thread php
On 2024-01-18 21:23, Niels Dossche wrote: Hi Frederik Just putting the link here so people find it more easily :-) https://github.com/php/php-src/issues/13174 Cheers Niels Thank you, the link was originally on the text "on GitHub" but it seems to have been stripped. -- PHP Inter

[PHP-DEV] Re: VCS Account Request: saki

2024-01-15 Thread PHP Group
VCS Account Approved: saki approved by derick \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: shivam

2024-01-15 Thread PHP Group
VCS Account Approved: shivam approved by derick \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] path_join function

2023-05-17 Thread php
ed with an actual RFC, the folks handing out the RFC > karma would need your Wiki name. > > Best regards > Tim Düsterhus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

[PHP-DEV] [RFC] path_join function

2023-05-17 Thread php
Hey, I have created on GitHub a feature request for a path_join function (https://github.com/php/php-src/issues/11258) and got the label that this requires a RFC. So I am here now :) The idea is to provide in PHP itself a function to join filesystem paths (idea: path_join) like in other

[PHP-DEV] Re: VCS Account Request: ericmann

2023-05-02 Thread PHP Group
VCS Account Approved: ericmann approved by kalle \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: nielsdos

2023-03-04 Thread PHP Group
VCS Account Approved: nielsdos approved by derick \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: devnexen

2022-06-02 Thread PHP Group
VCS Account Approved: devnexen approved by derick \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: aaronjunker

2022-05-27 Thread PHP Group
VCS Account Approved: aaronjunker approved by cmb \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

Re: [PHP-DEV] Deprecated partially supported callables: should is_callable() throwa deprecation notice ?

2022-04-21 Thread php-internals_nospam
bly won't be completely arbitrary. It might be coming from a discovery process that reads yml files or annotations, or that calls some kind of hook in php. Or it is generated with string concatenation. Whatever it is, it is probably explicitly or implicitly hard-coded somewhere. Here is

[PHP-DEV] Re: VCS Account Request: timwolla

2022-04-08 Thread PHP Group
VCS Account Approved: timwolla approved by cmb \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

[PHP-DEV] Re: [RFC] Deprecate dynamic properties

2021-11-15 Thread php-internals_nospam
more about the more poignant issue of the current pace of deprecations in PHP, the impact of the workload these cause for open source project maintainers and the stagnation I'm currently seeing in PHP open source releases and innovation as a result of this. As I'm posting here now anywa

[PHP-DEV] Re: VCS Account Request: just-test2

2020-12-06 Thread PHP Group
VCS Account Rejected: just-test2 rejected by cmb /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: just-test

2020-12-06 Thread PHP Group
VCS Account Rejected: just-test rejected by cmb /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: kaiili

2020-12-06 Thread PHP Group
VCS Account Rejected: kaiili rejected by cmb /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: ondrejmirtes

2020-07-12 Thread PHP Group
VCS Account Rejected: ondrejmirtes rejected by kalle /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: gandung

2020-07-10 Thread PHP Group
VCS Account Rejected: gandung rejected by kalle /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: nusphere

2020-07-10 Thread PHP Group
VCS Account Rejected: nusphere rejected by kalle /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: ilutov

2020-06-18 Thread PHP Group
VCS Account Approved: ilutov approved by cmb \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: theodorejb

2020-06-18 Thread PHP Group
VCS Account Approved: theodorejb approved by derick \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: alexdowad

2020-06-11 Thread PHP Group
VCS Account Approved: alexdowad approved by cmb \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: nicolasgrekas

2020-01-28 Thread PHP Group
VCS Account Approved: nicolasgrekas approved by pajoye \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: nicolasgrekas

2020-01-14 Thread PHP Group
VCS Account Rejected: nicolasgrekas rejected by salathe /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: dalehirt

2019-11-19 Thread PHP Group
VCS Account Approved: dalehirt approved by rasmus \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: bariseser

2019-11-19 Thread PHP Group
VCS Account Rejected: bariseser rejected by rasmus /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: dreboard

2019-11-19 Thread PHP Group
VCS Account Rejected: dreboard rejected by rasmus /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: dual

2019-11-19 Thread PHP Group
VCS Account Rejected: dual rejected by rasmus /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: noobshow

2019-11-19 Thread PHP Group
VCS Account Rejected: noobshow rejected by rasmus /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: dasl

2019-11-19 Thread PHP Group
VCS Account Approved: dasl approved by rasmus \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: strongholdmedia

2019-11-19 Thread PHP Group
VCS Account Approved: strongholdmedia approved by rasmus \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: vishnu

2019-11-19 Thread PHP Group
VCS Account Rejected: vishnu rejected by rasmus /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: dmarinov

2019-11-15 Thread PHP Group
VCS Account Rejected: dmarinov rejected by cmb /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: schemer

2019-11-15 Thread PHP Group
VCS Account Rejected: schemer rejected by cmb /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: alditis

2019-11-15 Thread PHP Group
VCS Account Rejected: alditis rejected by cmb /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: kocsismate

2019-11-06 Thread PHP Group
VCS Account Approved: kocsismate approved by cmb \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Help with memory leak on zend_call_function

2019-10-17 Thread BohwaZ/PHP
Hi all, I am working on this PR: https://github.com/php/php-src/pull/4797 It implements the ability to set a userland callback function that would allow or deny SQL queries in SQLite using its internal authorizer logic. This is a native feature of SQLite that is currently missing from the

[PHP-DEV] Re: VCS Account Request: villfa

2019-10-12 Thread PHP Group
VCS Account Approved: villfa approved by cmb \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: marandall

2019-09-12 Thread PHP Group
VCS Account Approved: marandall approved by kalle \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] The real world ...

2019-06-13 Thread BohwaZ/PHP
nd an email to you when there is an error: https://stackoverflow.com/questions/277224/how-do-i-catch-a-php-fatal-error We used that solution for quite some time, but it can quickly overload your email server when you have millions of requests producing errors ;) -- PHP Internals - PHP Ru

Re: [PHP-DEV] The real world ...

2019-06-13 Thread BohwaZ/PHP
eaked stacktrace, no leaked credentials, user is informed, everyone is happy :-) Yup everyone should do that. I personally like Tracy from Nette which has a production mode that will show a nice error page: https://tracy.nette.org/en/guide Perhaps PHP should display a page like that instead of a

[PHP-DEV] Re: VCS Account Request: lakshmanphp

2019-06-10 Thread PHP Group
VCS Account Rejected: lakshmanphp rejected by rasmus /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: fabpianista

2019-06-10 Thread PHP Group
VCS Account Rejected: fabpianista rejected by rasmus /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: railto

2019-06-09 Thread PHP Group
VCS Account Rejected: railto rejected by rasmus /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: mgage

2019-06-09 Thread PHP Group
VCS Account Rejected: mgage rejected by rasmus /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: profforg

2019-06-09 Thread PHP Group
VCS Account Rejected: profforg rejected by rasmus /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] open_basedir?

2019-05-09 Thread BohwaZ/PHP
er than nothing). That's why it's used by ISPconfig and other panels: there is no other solution that I know of. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: sjon

2019-05-07 Thread PHP Group
VCS Account Approved: sjon approved by salathe \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Mitigate “Magellan vulnerabilitites” in PHP 7.2?

2019-02-15 Thread BohwaZ/PHP
library is 3.26+. Changing the internals of a SQLite database is something that should be quite rare in the real world I think. This addresses potential security issues for PHP applications allowing end-users to run arbitrary SQL queries. But please note that if your application does allow en

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

2019-02-08 Thread BohwaZ/PHP
nd of weird :) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2019-02-07 Thread BohwaZ/PHP
Le 04/02/2019 01:14, azjezz a écrit : In my opinion, current design looks old, outdated and bland. This sadly may reflect "badly" on the language reputation nowadays. I find that the main PHP website is quite good actually, the design looks modern, it is quite clear and easy to

Re: [PHP-DEV] [RFC] [VOTE] Implement missing SQLite feature "openBlob" in PDO

2017-10-11 Thread BohwaZ/PHP
Le 12/10/2017 12:00, Dan Ackroyd a écrit : On 11 October 2017 at 22:03, BohwaZ/PHP wrote: Hey, For people voting against the RFC, could you please explain your vote here so that we might understand? Cheers. I think people were reasonably clear during the discussion. Having certain

Re: [PHP-DEV] [RFC] [VOTE] Implement missing SQLite feature "openBlob" in PDO

2017-10-11 Thread BohwaZ/PHP
t/rfc/implement_sqlite_openblob_in_pdo Vote will end on Wednesday the 25th of October. Thanks to everyone who contributed to the discussion so far :) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [RFC] [VOTE] Implement missing SQLite feature "openBlob" in PDO

2017-10-09 Thread BohwaZ/PHP
o the discussion so far :) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [RFC] [Discussion] Implement SQLite "openBlob" feature in PDO

2017-10-03 Thread BohwaZ/PHP
on it. This is not how I understand the documentation: "PDO::PARAM_LOB tells PDO to map the data as a stream, so that you can manipulate it using the PHP Streams API." But this seems to be quite chaotic, reading https://secure.php.net/manual/en/pdostatement.bindcolumn.php "Sin

Re: [PHP-DEV] Re: [RFC] [Discussion] Implement SQLite "openBlob" feature in PDO

2017-10-03 Thread BohwaZ/PHP
at, and it's not the subject of this RFC :) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [RFC] [Discussion] Implement SQLite "openBlob" feature in PDO

2017-10-02 Thread BohwaZ/PHP
On 02/10/17 01:48, BohwaZ/PHP wrote: So for me the use case is quite different here, and openBlob allows stuff that PDO::PARAM_LOB with bindColumn and bindParam cannot allow currently. In conclusion openBlob is still useful as it allows accessing a BLOB outside of a statement and allows to

Re: [PHP-DEV] Re: [RFC] [Discussion] Implement SQLite "openBlob" feature in PDO

2017-10-01 Thread BohwaZ/PHP
different here, and openBlob allows stuff that PDO::PARAM_LOB with bindColumn and bindParam cannot allow currently. In conclusion openBlob is still useful as it allows accessing a BLOB outside of a statement and allows to read and write at the same time without having to load the blob in m

[PHP-DEV] [RFC] [Discussion] Implement SQLite "openBlob" feature in PDO

2017-09-25 Thread BohwaZ/PHP
o Discussion should happen in the next two weeks before going to vote. The actual patch is here: https://github.com/php/php-src/pull/2698 Suggestions and discussions welcome. Cheers. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Request access to wiki for RFC on implementing missing pdo_sqlite features

2017-08-31 Thread BohwaZ/PHP
Hello, anyone? :) Kia ora, I'm requesting access to wiki to be able to write the RFC on implementing missing pdo_sqlite features, following pull request https://github.com/php/php-src/pull/2698 and discussion on this list. My account on the wiki is "bohwaz". Cheers. -- PHP

[PHP-DEV] Request access to wiki for RFC on implementing missing pdo_sqlite features

2017-08-24 Thread BohwaZ/PHP
Kia ora, I'm requesting access to wiki to be able to write the RFC on implementing missing pdo_sqlite features, following pull request https://github.com/php/php-src/pull/2698 and discussion on this list. My account on the wiki is "bohwaz". Cheers. -- PHP Internal

Re: [PHP-DEV] Matching PDO_SQLite features with SQLite3 extension

2017-08-22 Thread BohwaZ/PHP
;t see how that would be possible. My feeling is that it would have been better to have a class extending PDO for each driver, adding additional constants and methods, but that's not how PDO has been designed, and I'm not gonna suggest that we should rewrite PDO now. And yes, you a

Re: [PHP-DEV] Matching PDO_SQLite features with SQLite3 extension

2017-08-22 Thread BohwaZ/PHP
work with. It is not helpful: it's just more tech debt dumped on millions of consumers. I care because I need those features in my projects, and I'm not the only one. But if those late-loading methods don't suit you, what do you propose instead? -- PHP Internals - PHP Runtime Deve

Re: [PHP-DEV] Matching PDO_SQLite features with SQLite3 extension

2017-08-22 Thread BohwaZ/PHP
a better idea than driver-specific methods and I don't know enough C/have enough time to do anything else, so I won't submit any proposition that I won't be able to do myself. Cheers. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Matching PDO_SQLite features with SQLite3 extension

2017-08-21 Thread BohwaZ/PHP
akes it so that the methods are not accessible until the connection has been established, which is a weird behaviour imho). -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Matching PDO_SQLite features with SQLite3 extension

2017-08-20 Thread BohwaZ/PHP
Hi people of the PHP world, I just have proposed a patch to have SQLite3 open_blob feature implemented in PDO_SQLite: https://github.com/php/php-src/pull/2698 This follows my patch to implement this feature in the SQLite3 extension a few months ago. Now my aim is to implement missing

Re: [PHP-DEV] OBJECT_OPERATOR vs. DOUBLE_COLON

2017-07-10 Thread BohwaZ/PHP
is should throw an error, this feature makes sense as '::' is always for accessing static stuff, it is quite logic in the end: :: for static (constants, static variables, static methods) -> for the rest I think this feature is documented somewhere in the doc, that's where

[PHP-DEV] Re: VCS Account Request: cranavvo

2016-12-17 Thread PHP Group
VCS Account Rejected: cranavvo rejected by cmb /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: alonsorivel

2016-12-17 Thread PHP Group
VCS Account Rejected: alonsorivel rejected by cmb /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: fp

2016-12-04 Thread PHP Group
VCS Account Rejected: fp rejected by cmb /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: rakeshkush87

2016-12-04 Thread PHP Group
VCS Account Rejected: rakeshkush87 rejected by cmb /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: markbaker

2016-12-04 Thread PHP Group
VCS Account Rejected: markbaker rejected by cmb /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: pakistanimoon

2016-12-04 Thread PHP Group
VCS Account Rejected: pakistanimoon rejected by cmb /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: mprelude

2016-12-04 Thread PHP Group
VCS Account Rejected: mprelude rejected by cmb /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: bof

2016-11-20 Thread PHP Group
VCS Account Rejected: bof rejected by kalle /o\ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: emir

2016-11-18 Thread PHP Group
VCS Account Approved: emir approved by cmb \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: VCS Account Request: sven

2016-11-18 Thread PHP Group
VCS Account Approved: sven approved by cmb \o/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: [PATCH] opcache bug #69090, prepend user identifier to keys

2016-11-11 Thread php-dev
Dmitry, Thank you for taking the time to answer my questions. Time allowing, I'll be taking a closer look at the code this weekend. I do have a couple of quick comments, see below: On Fri, Nov 11, 2016 at 07:31:03AM +, Dmitry Stogov wrote: > On Nov 10, 2016 5:10

[PHP-DEV] Re: [PATCH] opcache bug #69090, prepend user identifier to keys

2016-11-10 Thread php-dev
Hello Dmitry, A quick question after considering your comments and doing a bit more homework on extension lifetime: On Thu, Nov 10, 2016 at 08:10:19AM -0600, php-...@coydogsoftware.net wrote: > > On Thu, Nov 10, 2016 at 08:51:58AM +, Dmitry Stogov wrote: > > > > Th

  1   2   >