Skip to content

Commit

Permalink
docs: use argv instead of wpdb for the example
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed Nov 29, 2024
1 parent 360c543 commit 1d4ccd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/documentation/php-interop.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Use the `php/` prefix to access the global variables in combination with `get`.

```phel
(get php/$_SERVER "key") # Similar to $_SERVER['key']
(get php/$GLOBAL "wpdb") # Similar to $GLOBAL['wpdb']
(get php/$GLOBAL "argv") # Similar to $GLOBAL['argv']
```

## Calling PHP functions
Expand Down

0 comments on commit 1d4ccd3

Please sign in to comment.