measured on item.php
![Smiley :)](https://forums.osclasspoint.com/Smileys/osclass-emoji/smiley.gif)
$start_time = microtime(true);
//$xVar = osc_get_preference('reg_user_can_see_phone', 'osclass');
} else if(osc_get_preference('reg_user_can_see_phone', 'osclass') == 1 ........
//} else if($xVar == 1 ........
if(osc_get_preference('reg_user_can_see_phone', 'osclass') == 1 ........
//if($xVar == 1 ........
if(osc_get_preference('reg_user_can_see_phone', 'osclass') == 1 ........
//if($xVar == 1 ........
$end_time = microtime(true);
$execution_time = ($end_time - $start_time);
echo 'Execution Time: ' . number_format($execution_time, 10) . ' Sec
![Smiley :)](https://forums.osclasspoint.com/Smileys/osclass-emoji/smiley.gif)
';
$xVar results:
Execution Time: 0.0000040531 Sec
Execution Time: 0.0000040531 Sec
Execution Time: 0.0000040531 Sec
![Smiley :)](https://forums.osclasspoint.com/Smileys/osclass-emoji/smiley.gif)
Native function call:
Execution Time: 0.0000050068 Sec
Execution Time: 0.0000050068 Sec
Execution Time: 0.0000050068 Sec
![Smiley :)](https://forums.osclasspoint.com/Smileys/osclass-emoji/smiley.gif)
I think I've had enough of this nonsense
![Smiley :)](https://forums.osclasspoint.com/Smileys/osclass-emoji/smiley.gif)
This topic can be deleted
![:))](https://forums.osclasspoint.com/Smileys/osclass-emoji/laugh.gif)