Hi guys,
I’ve read an article about facebook’s HipHop Compiler to compile PHP Code in C++. The performance should increase till 50%!
Yii use three functions that are not compatible with HipHop.
[list=1]
[*]create_functions
[*]eval
[*]preg_replace with modifier E
[/list]
Well, do you think that it is possible to "change these functions" from the framework, so that we can use HipHop in combination with yii?
Yii 1.1.3 and the "Bad Functions"
create_functions
[list=1]
[*]yii > framework > logging > CProfileLogRoute.php Line 179
[*]yii > framework > vendors > markdown > markdown.php Line 1413
[/list]
eval()
[list=1]
[*]yii > framework > base > CComponent.php Line 587
[*]yii > framework > cli > commands > MessageCommand.php Line 119
[*]yii > framework > cli > commands > ShellCommand.php Line 147
[*]yii > framework > i18n > CChoiceFormat.php Line 75
[*]yii > framework > utils > CPropertyValue.php Line 114
[*]yii > framework > vendors > htmlpurifier > standalone > HTMLPurifier > ConfigSchema >InterchangeBuilder.php Line 144
[*]yii > framework > vendors > htmlpurifier > HTMLPurifier.standalone.php Line 15867
[*]yii > framework > web > auth > CAuthManager.php Line 141
[*]yii > framework > web > js
[*]yii > framework > zii > behavoiors > CTimestampBehavior.php Line 102
[*]yii > framework > yiilite.php
[/list]