V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
l890908
V2EX  ›  程序员

闲来无事总结了 PHP 自己最常用的一些函数,有没有补充的或者其他语言的?

  •  
  •   l890908 · 2023-04-13 12:37:00 +08:00 · 913 次点击
    这是一个创建于 386 天前的主题,其中的信息可能已经有所发展或是发生改变。

    php: preg_match ( preg_match_all ) strlen file_get_contents json_encode(json_decode) urlencode(urldecode) md5 microtime unlink ucfirst str_repeat base64_encode reset strtotime htmlspecialchars ( htmlspecialchars_decode ) trim

    6 条回复    2023-04-13 18:47:38 +08:00
    brader
        1
    brader  
       2023-04-13 13:04:48 +08:00
    这些都是比较常见的,无须刻意去记和做笔记,多写代码,多练,几乎天天接触
    yuancoder
        2
    yuancoder  
       2023-04-13 13:05:44 +08:00   ❤️ 1
    这有什么总结的
    ztxcccc
        3
    ztxcccc  
       2023-04-13 13:20:35 +08:00
    居然没有 reset
    zjsxwc
        4
    zjsxwc  
       2023-04-13 13:27:23 +08:00   ❤️ 1
    不管写什么语言都无脑用 Underscore

    https://github.com/brianhaveri/Underscore.php
    zictos
        5
    zictos  
       2023-04-13 13:46:27 +08:00
    有了 chatgpt 这些都没有任何意义。
    很多"做笔记"之类的事情也大部分都没有任何意义了。除非真的是一些很容易忘的需要总结的东西,并且以后用 chatgpt 不容易简单获取到答案。
    fenglangjuxu
        6
    fenglangjuxu  
       2023-04-13 18:47:38 +08:00
    php 开发手册 就很全
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1843 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 00:56 · PVG 08:56 · LAX 17:56 · JFK 20:56
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.