Skip to content

Commit

Permalink
warn that it's emulating php-on-linux (#424)
Browse files Browse the repository at this point in the history
related to issue #395
  • Loading branch information
divinity76 authored Oct 2, 2020
1 parent 406a4bc commit 5345e9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/php/exec/escapeshellarg.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
module.exports = function escapeshellarg (arg) {
// discuss at: https://locutus.io/php/escapeshellarg/
// Warning: this function emulates escapeshellarg() for php-running-on-linux
// the function behaves differently when running on Windows, which is not covered by this code.
//
// original by: Felix Geisendoerfer (https://www.debuggable.com/felix)
// improved by: Brett Zamir (https://brett-zamir.me)
// bugfixed by: divinity76 (https://github.com/divinity76)
Expand Down

0 comments on commit 5345e9c

Please sign in to comment.