Hi!

> By this I mean I have looked at implementing it a couple of different ways
> and each time I get caught up on timing code that spans multiple lines such
> as:
> 
> $array = array(
>     'my_key' => 'my_value',
> );

I would ignore that if I were you and use whatever lines the engine
assigns to specific opcodes. There's nothing you can optimize between
array( and 'my_key', so for all practical purposes it does not really
matter to which line of these the code is assigned.
-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to