Skip to main content
Glama

CodeGraphContext

globals_superglobals.php368 B
<?php // simulating for learning purposes $_GET['name'] = "Shashank"; $_POST['age'] = 22; // always validate user input $name = htmlspecialchars($_GET['name']); $age = filter_var($_POST['age'], FILTER_VALIDATE_INT); echo $name . "\n"; echo $age . "\n"; $GLOBALS['x'] = 10; function addFive(): void { $GLOBALS['x'] += 5; } addFive(); echo $GLOBALS['x'] . "\n";

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Shashankss1205/CodeGraphContext'

If you have feedback or need assistance with the MCP directory API, please join our Discord server