将PHP代码转换到Scala代码
有一个开源项目提供将PHP代码转换成Scala代码的功能,该项目的网站是 http://code.google.com/p/php-to-scala-migration-helper/。
In short, php-to-scala converts PHP code to clean, maintainable Scala source code. To cut to the chase, see ConversionExamples, or the feature-by-feature DesignDocument.
PHP-to-Scala Migration Helper is technically a PHP Compiler, but it differs radically from other existing compilers such as Hip-Hop, PHC, Raven, Roadsend, Phalanger, and Quercus, in a few key points (see: KeyDifferences for details), most importantly the primary, usable output of the tool is nice, maintainable Source Code, not executable or Java bytecode.
相关文档:
看了网上很多log4php的文章,大多是v0.8、v0.9的,都很旧了,按上面的做总是不对,现在都出到v2.0了,好了,我就给大家说说此版本的如何配置!
1、先上http://www.apache.org/dyn/closer.cgi/incubator/log4php/2.0.0/apache-log4php-2.0.0-incubating-src ......
如果您使用过 PHP,您就会发现它是创建特性丰富的 Web 页面的出色工具。作为一大脚本语言,PHP:
容易学习。
有许多强大的框架(比如 CakePHP 和 CodeIgniter),让您能够像 Rails 程序员一样高效。
能够与 MySQL、PostgreSQL、Microsoft® SQL Server,甚至 Oracle 通信。
能够轻松地与 JavaScript 框架集成,比 ......
在windows下的php.ini文件里
找到这一行代码(如没有则自行添加)
extension=php_soap.dll
SOAP在php.ini中还有自己的配置部分,如下所示
[soap]
; Enables or disables WSDL caching feature.
soap.wsdl_cache_enabled=1
; Sets the directory name where SOAP extension will put cache files.
soap.wsdl_cache_d ......
先说通过javascript发送时的乱码问题,如果发送的是中文,就要用escape这个函数处理,比如:
=======================
var url="testurl.php?name="+"刚刚";
=======================
那么就要改成
=======================
var url="testurl. ......
一、zend studio的配置
1.到zend的安装目录下删除两个文件(可有可无.至少我不删除也不移动可以)
我的安装目录:D:\Program Files\Zend\Zend Studio - 7.0.2\plugins\
删除的文件是:com.zend.php.debug.core_7.0.0.v20090607-1658.jar
&nbs ......