我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

PHP提供.NET类似的框架吗? [关闭]

To the function oriented PHP style of coding

i.e. is_empty($text)

I prefer the object oriented syntax of c#:

i.e. string.IsNullOrEmpty(text)

Is there a way to try to shorten the distance between c# and PHP?

PHP had functional paradigma for long time, so there are plenty of things, which are solved in this way. Also PHP add types in last year, so there are still long way to improve some things.

But there are already some tools. You can use https://github.com/nette/utils which contains already some usefull OOP classes and more intuitive methods.

近期文章

  • 如何使用php使用在线数据库将PDF文件上传到数据库
  • 将php变量从一个文件传递到另一个文件,而不是if语句的范围
  • 如何摆脱laravel中的bcrypt
  • SQL查询没有正确提取数据
  • 表单字段和标签PHP
  • 如何在javascript内部HTML中编写php代码
  • Php:动态更改列表值而不加载页面
  • 在PHP中计算这些多个百分比?
  • 如何根据空间剪切字符串?
  • 黑客可以删除我使用下面功能的服务器文件和数据库吗? [重复]
  • 我可以使用PHP匿名函数作为参数,而无需将函数赋值给变量吗?
  • 如何动态地从公司表中获取相关类别作为选项值?
  • 如何转置数组[重复]
  • JSONArray收到错误
  • 修剪php中的一部分字符串[复制]
  • PHP循环通过MySQL数组[重复]
  • MySQL中的DATEDIFF无法正常工作
  • Php中的值格式删除caracteres
  • 在PHP中生成独特的组合
  • Hadoop起点

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华