On 25 November 2012 11:58, Casper Langemeijer langemei...@php.net wrote:
Hi all,
Somewhere in May this year I discovered that our software would not run on
PHP 5.4 because of changed behaviour of ob_start(). I discovered a bugreport
that was marked 'Not a bug', but valuable info was already
Hi internals,
I would to modify a \DateTime object to the current time, thus I wrote this:
$d = new \DateTime('+1 hour');
$d-modify('now');
It did not work. Why? Because the documentation
(http://php.net/datetime.formats.relative) says: “Now - this is simply
ignored”. Really? But the
Hi Ivan,
$d = new \DateTime('+1 hour', new \DateTimeZone('Europe/Amsterdam'));
Is exactly the same as:
// Current timestamp with timezone
$d = new \DateTime(null, new \DateTimeZone('Europe/Amsterdam'));
// Add 1 hour to the timestamp with timezone
$d-modify('+1 hour');
This is what you would
2012/11/26 Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net
Hi internals,
I would to modify a \DateTime object to the current time, thus I wrote
this:
$d = new \DateTime('+1 hour');
$d-modify('now');
It did not work. Why? Because the documentation (http://php.net/datetime.*
Hi Chris,
You didn't understand. I have a \DateTime object, and I would like to
change the date and time to the current date and time = now.
Imagine you have a \DateTime object that was serialized and you would
like to “refresh” it, you need to $d-modify('now'). This is strictly
equivalent to
Hi Sebastien,
On 26/11/12 12:25, Sebastian Krebs wrote:
2012/11/26 Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net
Hi internals,
I would to modify a \DateTime object to the current time, thus I wrote
this:
$d = new \DateTime('+1 hour');
$d-modify('now');
It did not work. Why? Because the
On Mon, 26 Nov 2012, Ivan Enderlin @ Hoa wrote:
On 26/11/12 12:25, Sebastian Krebs wrote:
2012/11/26 Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net
I would to modify a \DateTime object to the current time, thus I wrote
this:
$d = new \DateTime('+1 hour');
On 26/11/12 13:02, Derick Rethans wrote:
On Mon, 26 Nov 2012, Ivan Enderlin @ Hoa wrote:
On 26/11/12 12:25, Sebastian Krebs wrote:
2012/11/26 Ivan Enderlin @ Hoa ivan.ender...@hoa-project.net
I would to modify a \DateTime object to the current time, thus I wrote
this:
$d = new
On Mon, 26 Nov 2012 15:06:09 +0400, Ivan Enderlin @ Hoa
ivan.ender...@hoa-project.net wrote:
Hi internals,
I would to modify a \DateTime object to the current time, thus I wrote
this:
$d = new \DateTime('+1 hour');
$d-modify('now');
It did not work. Why? Because the documentation
On Mon, 26 Nov 2012, Nikita Nefedov wrote:
On Mon, 26 Nov 2012 15:06:09 +0400, Ivan Enderlin @ Hoa
ivan.ender...@hoa-project.net wrote:
I would to modify a \DateTime object to the current time, thus I
wrote this:
$d = new \DateTime('+1 hour');
$d-modify('now');
It did not
On 11/26/2012 10:19 AM, Michael Wallner wrote:
I'm sorry that the new output control layer causes you such headaches.
IIRC, 6 years back, when I implemented the new output control
functionality, I kindly asked the list, whether to rather implement
what's documented, or what the old code did,
It's been a few weeks since voting opened and it's unanimous so far.
If no one objects I'll plan on pushing into git on Friday.
On Mon, Nov 5, 2012 at 9:26 AM, Sara Golemon poll...@php.net wrote:
The requisite one week minimum has passed and there have been no
further comments since my last
https://wiki.php.net/rfc/request-tempnam
Just a bit of hand-holding for those who don't remember to clean up
their messes.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
On Mon, 2012-11-26 at 13:21 -0800, Sara Golemon wrote:
https://wiki.php.net/rfc/request-tempnam
Just a bit of hand-holding for those who don't remember to clean up
their messes.
An obvious question is: When in shutdown should that be called? Assume I
have a session handler which uses
An obvious question is: When in shutdown should that be called? Assume I
have a session handler which uses such a temporary directory which is
backed by a custom stream while having a registered shutdown function
accessing that session (what did i forget to put into that scenario?)
Is this
On 11/26/2012 05:24 PM, Raymond Irving wrote:
Hello,
I've being reading about HHVM and the numbers are looking great but I was
just wondering if we will we ever see something like HHVM being added to
the PHP core?
No, not likely. Maybe an LLVM-based JIT one day, but the HHVM approach
is not
I've being reading about HHVM and the numbers are looking great but I was
just wondering if we will we ever see something like HHVM being added to
the PHP core?
No, not likely. Maybe an LLVM-based JIT one day, but the HHVM approach
is not something any of us are looking at.
To echo Rasmus'
On 11/26/2012 09:03 PM, Sara Golemon wrote:
P.S. - I do disagree with Rasmus' statement about none of us looking
at fitting a JIT into PHP. ;)
I think you misread my reply. I specifically said that a JIT is a
possibility, just not the HH approach.
-Rasmus
--
PHP Internals - PHP Runtime
On Mon, Nov 26, 2012 at 9:09 PM, Rasmus Lerdorf ras...@lerdorf.com wrote:
On 11/26/2012 09:03 PM, Sara Golemon wrote:
P.S. - I do disagree with Rasmus' statement about none of us looking
at fitting a JIT into PHP. ;)
I think you misread my reply. I specifically said that a JIT is a
19 matches
Mail list logo