Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
brettmc committed Dec 24, 2024
1 parent 22cf6f2 commit 3231419
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions content/en/docs/languages/php/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,12 @@ SDK autoloading happens as part of the composer autoloader.

### Configuration from php.ini

When providing configuration through `php.ini`, be sure to protect boolean values
by double-quoting them, eg `"true"`, `"false"` so that PHP doesn't convert them
to numbers.
When providing configuration through `php.ini`, be sure to protect boolean
values by double-quoting them, eg `"true"`, `"false"` so that PHP doesn't
convert them to numbers.

`php.ini`:


### Excluded URLs

You can disable SDK autoloading if the request URL matches a regular expression.
Expand Down Expand Up @@ -144,10 +143,9 @@ There are also a number of PHP-specific configurations:
Configurations can be provided as environment variables, or via `php.ini` (or a
file included by `php.ini`)

{{% alert title="Boolean values in php.ini" %}}
Boolean values in `php.ini` should be protected by double-quoting them, for
example `"true"` or `"false"`, so that PHP doesn't convert them to numbers
{{% /alert %}}
{{% alert title="Boolean values in php.ini" %}} Boolean values in `php.ini`
should be protected by double-quoting them, for example `"true"` or `"false"`,
so that PHP doesn't convert them to numbers {{% /alert %}}

```ini
OTEL_PHP_AUTOLOAD_ENABLED="true"
Expand Down

0 comments on commit 3231419

Please sign in to comment.