StephaneGourichon

Result of test, see http://stackoverflow.com/questions/16595

May 16th, 2013
632
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. exec
  2.  
  3. Array
  4. (
  5. [commandtotest] => umask
  6. [output] => 0027
  7. [rc] => 0
  8. )
  9.  
  10. shell_exec
  11.  
  12. Array
  13. (
  14. [commandtotest] => umask
  15. [output] => 0027
  16.  
  17. )
  18.  
  19. backtick
  20.  
  21. Array
  22. (
  23. [commandtotest] => umask
  24. [output] => 0027
  25.  
  26. )
  27.  
  28. 0027
  29. passthru
  30.  
  31. Array
  32. (
  33. [commandtotest] => umask
  34. [output] =>
  35. [rc] => 0
  36. )
  37.  
  38. 0027
  39. system
  40.  
  41. Array
  42. (
  43. [commandtotest] => umask
  44. [output] => 0027
  45. [rc] => 0
  46. )
  47.  
  48. popen
  49.  
  50. Array
  51. (
  52. [commandtotest] => umask
  53. [handle] => Resource id #7
  54. [read] => 0027
  55.  
  56. )
  57.  
  58. 0027 command returned 0
  59. proc_open
  60.  
  61. Array
  62. (
  63. [commandtotest] => umask
  64. [descriptorspec] => Array
  65. (
  66. [0] => Array
  67. (
  68. [0] => pipe
  69. [1] => r
  70. )
  71.  
  72. [1] => Array
  73. (
  74. [0] => pipe
  75. [1] => w
  76. )
  77.  
  78. [2] => Array
  79. (
  80. [0] => file
  81. [1] => /tmp/error-output.txt
  82. [2] => a
  83. )
  84.  
  85. )
  86.  
  87. [cwd] => /tmp
  88. [env] => Array
  89. (
  90. [some_option] => aeiou
  91. )
  92.  
  93. [process] => Resource id #11
  94. [pipes] => Array
  95. (
  96. [0] => Resource id #9
  97. [1] => Resource id #10
  98. )
  99.  
  100. [return_value] => 0
  101. )
  102.  
  103. Array
  104. (
  105. [programexe] => umask
  106. )
  107.  
  108. PCNTL functions not available on this PHP installation
Add Comment
Please, Sign In to add comment