Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $start = microtime( true );
- for ( $i = 0; $i < 1e6; $i++ )
- {
- ${"1fuckthepolice"} = 5;
- }
- print( "Using {} with simple string: ".( microtime( true ) - $start )."<br/>" );
- $start = microtime( true );
- for ( $i = 0; $i < 1e6; $i++ )
- {
- $fuckThePolice = 5;
- }
- print( "Using normal declaration: ".( microtime( true ) - $start ) );
Add Comment
Please, Sign In to add comment