V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
hoythan
V2EX  ›  PHP

PHP func_get_args 要怎么传递参数

  •  
  •   hoythan · Mar 20, 2018 · 2257 views
    This topic created in 2962 days ago, the information mentioned may be changed or developed.

    例如

        function get_xxx(){
            return func_get_args();
        }
    
        function the_xxx(){
            // 这一步应该怎么做,才能吧参数原样传递给 get_xxx 函数
            print_r(get_xxx());
        }
    
    
        the_xxx(1,2,3,4,5)
    
    dic
        1
    dic  
       Mar 20, 2018 via Android   ❤️ 1
    call_user_func_array
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1180 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 17:46 · PVG 01:46 · LAX 10:46 · JFK 13:46
    ♥ Do have faith in what you're doing.