mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
15 lines
No EOL
550 B
Markdown
15 lines
No EOL
550 B
Markdown
---
|
||
title: 'You can use backticks (``) to execute a shell command in PHP'
|
||
tweet_id: '1596508354536304640'
|
||
thread_slug: weekly-thread-2022-35
|
||
author_username: freekmurze
|
||
images:
|
||
- 'https://pbs.twimg.com/media/FbbpXeyWIAAR40j.jpg'
|
||
created_at: 2022-11-26T14:17:08+00:00
|
||
slug: you-can-use-backticks-to-execute-a-shell-command-in-php
|
||
---
|
||
🐘 Can you believe I didn’t know that PHP has a backtick operator?
|
||
|
||
Anything between `` will be executed like shell_exec and returned 🤯
|
||
|
||
Docs: https://www.php.net/manual/en/language.operators.execution.php |