Subversion Repositories fastphp

Compare Revisions

Regard whitespace Rev 73 → Rev 74

/trunk/EditorMain.dfm
61,10 → 61,6
object HtmlTabSheet: TTabSheet
Caption = 'HTML'
ImageIndex = 1
ExplicitLeft = 0
ExplicitTop = 0
ExplicitWidth = 0
ExplicitHeight = 0
object WebBrowser1: TWebBrowser
Left = 0
Top = 0
190,10 → 186,6
object HelpTabsheet: TTabSheet
Caption = 'Help'
ImageIndex = 1
ExplicitLeft = 0
ExplicitTop = 0
ExplicitWidth = 0
ExplicitHeight = 0
object WebBrowser2: TWebBrowser
Left = 0
Top = 0
694,7 → 686,7
end
end
object OpenDialog1: TOpenDialog
DefaultExt = '.chm'
DefaultExt = 'chm'
FileName = 'php_manual_en.chm'
Filter = 'Help files (*.chm)|*.chm'
Options = [ofReadOnly, ofHideReadOnly, ofPathMustExist, ofFileMustExist, ofEnableSizing]
703,7 → 695,7
Top = 248
end
object OpenDialog3: TOpenDialog
DefaultExt = '.php'
DefaultExt = 'php'
FileName = 'scrap.php'
Filter =
'All PHP files (*.php*;*.phtml;*.inc;*.xphp)|*.php*;*.phtml;*.inc' +
846,7 → 838,7
end
end
object SaveDialog1: TSaveDialog
DefaultExt = '.php'
DefaultExt = 'php'
FileName = 'scrap.php'
Filter =
'All PHP files (*.php*;*.phtml;*.inc;*.xphp)|*.php*;*.phtml;*.inc' +
/trunk/codeexplorer.php
53,6 → 53,14
class MyFastPHPCodeExplorer {
 
public function handle($code) {
// Quick'n'Dirty fix to correctly parse the line
// test(XYZ::class)
$code = str_replace('::class', '', $code);
 
// Quick'n'Dirty fix to correctly parse the line
// $verify=file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret={$secret}&response={$response}");
$code = str_replace('{$', '{', $code);
 
$token = token_get_all($code);
$wait_function = false;
$wait_const = false;