One big caveat - strings retrieved from the backtick operation may be zero terminated (C-style), and therefore will not be equal to the non-zero terminated strings (roughly Pascal-style) normal in PHP. The workaround is to surround every `` pair or shell_

Qavavoc

  • Publié il y a 1 mois
  • Remote

Propositions

0 Reçu/s

Type de prix

Forfait

Type de développeur

Remote

Catégorie

site & développement

Niveau de compétence

Junior

Date limite de livraison

26 juillet, 2024

Expérience

<5ans

Sous-catégorie

développement de sites web

Description

One big caveat - strings retrieved from the backtick operation may be zero terminated (C-style), and therefore will not be equal to the non-zero terminated strings (roughly Pascal-style) normal in PHP. The workaround is to surround every `` pair or shell_exec() function with the trim() function. This is likely to be an issue with other functions that invoke shells; I haven't bothered to check.

COMPÉTENCES REQUISES