Hello,
With this mail I want to do the first step of a RFC: "1. Email
internals@lists.php.net to measure reaction to your intended proposal."
I'm in the process of using hrtime(true) instead of microtime(true), for
this it would be great if REQUEST_TIME_HR would also exist next to
REQUEST_TIME an
On Wed, Apr 12, 2023 at 12:01 PM Herbert Groot Jebbink <
herb...@groot.jebbink.nl> wrote:
> Hello,
>
> With this mail I want to do the first step of a RFC: "1. Email
> internals@lists.php.net to measure reaction to your intended proposal."
>
> I'm in the p
On Wed, 12 Apr 2023 at 11:53, Rowan Tommins wrote:
> Should the same approach happen here? e.g. should all three
> values be based on hrtime
fallback for REQUEST_TIME and REQUEST_TIME_FLOAT to hrtime seems not
possible, hrtime is not based on the actual time, hrtime can be used to
calculate a du
Op wo 12 apr. 2023 16:04 schreef Rowan Tommins :
> On Wed, 12 Apr 2023 at 13:25, Herbert Groot Jebbink <
> herb...@groot.jebbink.nl> wrote:
>
>> fallback for REQUEST_TIME and REQUEST_TIME_FLOAT to hrtime seems not
>> possible, hrtime is not based on the actual
On Wed, Apr 12, 2023 at 4:04 PM Rowan Tommins
wrote:
> On Wed, 12 Apr 2023 at 13:25, Herbert Groot Jebbink <
> herb...@groot.jebbink.nl> wrote:
>
>> fallback for REQUEST_TIME and REQUEST_TIME_FLOAT to hrtime seems not
>> possible, hrtime is not based on the actual
Hi,
To speed up a homebuild PHP framework I would like to have a new
function that expands a string with the PHP variables in it, just like
how variable parsing is done for a double-quotes string.
string VariableParsingString ( string string )
Currently I do it with the next eval statement.
eva
lm[\'klm\']} * {$xyz->xyz} *';
$result = parseVarsIntoString ($string);
echo $result;
function parseVarsIntoString ($string) {
extract($GLOBALS);
eval('$result = "' . str_replace('"', '\\"', $string) . '"
Sara Golemon wrote:
>> $string = "* {$abc} * {$klm['klm']} * {$xyz->xyz} *";
>> echo $string;
>>
> He wants to store an UNinterpolated string somewhere (like a DB or text
> file), then interpolate it at run-time.
indeed, and it's usage is in a driver that calls include files for the
business