Is it possible to pass an array as a command line argument to a PHP script?
        Posted  
        
            by Manos Dilaverakis
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Manos Dilaverakis
        
        
        
        Published on 2010-05-20T10:10:51Z
        Indexed on 
            2010/05/20
            10:20 UTC
        
        
        Read the original article
        Hit count: 245
        
php
|command-line
I'm maintaining a PHP library that is responsible for fetching and storing incoming data (POST, GET, command line arguments, etc). I've just fixed a bug that would not allow it to fetch array variables from POST and GET and I'm wondering whether this is also applicable to the part that deals with the command line.
Can you pass an array as a command line argument to PHP?
© Stack Overflow or respective owner