简体   繁体   中英

How to pass arguments when i profile a CLI PHP in Zend Studio?

I would like to profile a php script in CLI mode with Zend Studio 11.0. When I click right on the script, i choose "profile as" > "1 PHP CLI application". The script is immediately executed and profiled. But I have to pass arguments to the script. How to do this ?

The solution is : we have to add a new profile configuration (click right on the script > Profile as > Profile configurations ...), and add the arguments on the section "PHP script arguments". Then, run the new configuration which is in the menu of the profile button.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM