SHARE
TWEET

Untitled

phpist Oct 17th, 2019 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. extract($_SERVER);
  3. // То же самое, но с префиксом E_
  4. extract($HTTP_ENV_VARS, EXTR_PREFIX_ALL, "E");
  5. echo $E_COMSPEC; // выводит переменную окружения COMSPEC
  6. ?>
  7.  
  8. ( ! ) Warning: extract() expects parameter 1 to be array, null given in /var/www/php.xxx/1/funcarr/sort.php on line 4
  9. Call Stack
  10. #
  11. Time
  12. Memory
  13. Function
  14. Location
  15. 1
  16. 0.0002
  17. 393328
  18. {main}( )
  19. .../sort.php:0
  20. 2
  21. 0.0002
  22. 393376
  23. extract ( )
  24. .../sort.php:4
  25.  
  26. ( ! ) Notice: Undefined variable: E_COMSPEC in /var/www/php.xxx/1/funcarr/sort.php on line 5
  27. Call Stack
  28. #
  29. Time
  30. Memory
  31. Function
  32. Location
  33. 1
  34. 0.0002
  35. 393328
  36. {main}( )
  37. .../sort.php:0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top