Created
October 17, 2019 12:50
-
-
Save labbati/3170aa1e986027a545059683ae69fa33 to your computer and use it in GitHub Desktop.
PHP without composer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Manually enable manual instrumentation | |
if (file_exists($hook = ini_get('ddtrace.request_init_hook'))) { | |
include dirname($hook) . '/dd_init.php'; | |
} | |
// Your code here | |
echo "Hi!\n"; | |
// Recommended envs: | |
// - DD_TRACE_URL_AS_RESOURCE_NAMES_ENABLED=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment