dannylinden/aws-lambda-php

No JSON support?

alexcroox opened this issue · 1 comments

Expanding on your example php script to actually do something with the json event

$json = json_decode($argv[1]);
var_dump($json);

stdout:
Fatal error: Uncaught Error: Call to undefined function json_decode() in /usr/src/app/index.php:3

fixed by PR from @TimKlein87 , thx a lot :)