![]() |
PHP4Delphi
Hello!
Is there a new version out there for Delphi XE2/XE3? Because looks like the project is dead. Or is there an alternative for it? Concept is great but won't work with either 5.4.7/5.3.17 ![]() PHP4Applications specifically. |
AW: PHP4Delphi
Can someone port this to 64 bits? The 32bit assembler and 64bit assembler are quite different, other registers, other data sizes and so on. Also the inline asm in Win64 cannot be used with pascal. It's possible to have a procedure with an asm block, but it's not possible to combine the asm block with pascal statements.
Errors: [DCC Error] ZENDAPI.pas(1078): E2197 Constant object cannot be passed as var parameter [DCC Error] ZENDAPI.pas(1877): E2116 Invalid combination of opcode and operands [DCC Error] ZENDAPI.pas(1890): E2116 Invalid combination of opcode and operands [DCC Error] ZENDAPI.pas(1891): E2116 Invalid combination of opcode and operands [DCC Error] ZENDAPI.pas(1892): E2116 Invalid combination of opcode and operands [DCC Error] ZENDAPI.pas(1897): E2116 Invalid combination of opcode and operands [DCC Error] ZENDAPI.pas(1899): E2116 Invalid combination of opcode and operands [DCC Error] ZENDAPI.pas(2513): E1025 Unsupported language feature: 'ASM' [DCC Error] ZENDAPI.pas(2513): E2029 ';' expected but 'ASM' found [DCC Error] ZENDAPI.pas(2514): E2003 Undeclared identifier: 'global_value' [DCC Error] ZENDAPI.pas(2515): E2003 Undeclared identifier: 'tsrmls_dc' [DCC Error] ZENDAPI.pas(2518): E2003 Undeclared identifier: 'global_ptr' [DCC Error] ZENDAPI.pas(2519): E2029 '.' expected but ';' found [DCC Error] ZENDAPI.pas(54): E2065 Unsatisfied forward or external declaration: 'AnsiFormat' [DCC Error] ZENDAPI.pas(140): E2065 Unsatisfied forward or external declaration: 'zend_hash_add_or_update' [DCC Error] ZENDAPI.pas(177): E2065 Unsatisfied forward or external declaration: 'zend_hash_init' [DCC Error] ZENDAPI.pas(180): E2065 Unsatisfied forward or external declaration: 'zend_hash_init_ex' [DCC Error] ZENDAPI.pas(354): E2065 Unsatisfied forward or external declaration: '_zval_copy_ctor' [DCC Error] ZENDAPI.pas(356): E2065 Unsatisfied forward or external declaration: '_zval_dtor' [DCC Error] ZENDAPI.pas(801): E2065 Unsatisfied forward or external declaration: 'DupStr' [DCC Error] ZENDAPI.pas(820): E2065 Unsatisfied forward or external declaration: 'GetCompilerGlobals' [DCC Error] ZENDAPI.pas(821): E2065 Unsatisfied forward or external declaration: 'GetExecutorGlobals' [DCC Error] ZENDAPI.pas(822): E2065 Unsatisfied forward or external declaration: 'GetAllocGlobals' [DCC Error] ZENDAPI.pas(838): E2065 Unsatisfied forward or external declaration: 'object_init' [DCC Error] ZENDAPI.pas(840): E2065 Unsatisfied forward or external declaration: 'Z_LVAL' [DCC Error] ZENDAPI.pas(841): E2065 Unsatisfied forward or external declaration: 'Z_BVAL' [DCC Error] ZENDAPI.pas(842): E2065 Unsatisfied forward or external declaration: 'Z_DVAL' [DCC Error] ZENDAPI.pas(843): E2065 Unsatisfied forward or external declaration: 'Z_STRVAL' [DCC Error] ZENDAPI.pas(844): E2065 Unsatisfied forward or external declaration: 'Z_STRLEN' [DCC Error] ZENDAPI.pas(845): E2065 Unsatisfied forward or external declaration: 'Z_ARRVAL' [DCC Error] ZENDAPI.pas(846): E2065 Unsatisfied forward or external declaration: 'Z_OBJ_HANDLE' [DCC Error] ZENDAPI.pas(847): E2065 Unsatisfied forward or external declaration: 'Z_OBJ_HT' [DCC Error] ZENDAPI.pas(848): E2065 Unsatisfied forward or external declaration: 'Z_OBJPROP' [DCC Fatal Error] PHPCommon.pas(234): F2063 Could not compile used unit 'ZendAPI.pas' ![]() Edit: Is English a problem? :lol: |
AW: PHP4Delphi
207 Hits and no reply?
|
AW: PHP4Delphi
Zitat:
|
AW: PHP4Delphi
PHP4Delphi was discussed here. So that can't be the problem.
|
AW: PHP4Delphi
Zitat:
No one can answer with No to this question, but as you get no other response, even someone who would be able to do it is not very keen to actually do it. |
AW: PHP4Delphi
Liste der Anhänge anzeigen (Anzahl: 1)
I don't know ASM thats why I asked? People ask all sorts of things yet they get some sort of response.
|
AW: PHP4Delphi
Bump bump buump :)
|
AW: PHP4Delphi
Zitat:
|
AW: PHP4Delphi
I don't want to use Phalanger for .NET :(
|
AW: PHP4Delphi
Erm.. you are probably confusing something here. Do you think both are interchangable?
Delphi4PHP is: The language PHP + some PHP classes that resemble something that would look like some sort of 'VCL' components to a delphi developer. The PSVLib you linked to are additional PHP classes to extend the PHP 'VCL'. Nevertheless, everything in Delphi4PHP is pure PHP. Phalanger is something completely different. Phalanger takes pure PHP code, and compiles it to run on the .NET Framework (which is a great idea btw. and a massive performance gain). This would i.e. allow you to compile phpBB to .NET code and write phpBB plugins in C#, VB or Oxygene for .NET. Of course it would be possible to take a Delphi4PHP project, and compile this to .NET through phalanger. But nobody with a sane mind would bother doing this. Sane guys would directly take Oxygene and write ASP.NET (MVC) applications ;-) Btw: Delphi4PHP (lastly named RadPHP) will be revived in the new "Html5Builder", coming next year. So, what are you now exactly referring to, and what is your specific question? |
AW: PHP4Delphi
Zitat:
|
AW: PHP4Delphi
Zitat:
He is NOT talking about Delphi4PHP he IS talking about Php4Delphi. This has nothing to do with the Emarcadero-Product. Look at the sourceforge-link |
AW: PHP4Delphi
PHP4Delphi or PHP5Delphi the new revision is basicly php inside delphi. Allows you to execute php code,set variables,read variables,set array or delete array etc.
Like Phalanger but not limited. Phalanger is not compatible with many PHP extensions they even don't even have curl extension. Problem with PHP4DELPHI is that it dosen't work with 64 bits ASM changes are needed. I have no experiance with ASM. Regarding performance.. PHP 5.3.17 can use ZEND Optimizer which compiles the code, that does the same thing that Phalanger uses plus it can use XQuery by Zorba. And I've tested it. PHP is also much more regulary updated. |
AW: PHP4Delphi
I need advice if i should just write a wrapper for php5ts.dll? The functions are easy to get via bindump.
Thanks |
Alle Zeitangaben in WEZ +1. Es ist jetzt 08:08 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz