3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo " why not simply this version? "; echo "// if you haven't already, install the SDK with \'composer require sightengine/client-php\'\n use \Sightengine\SightengineClient;\n = new SightengineClient('{api_user}', '{api_secret}');\n (['{model}'])->set_url('https://d3m9459r9kwism.cloudfront.net/img/examples/example7.jpg')\n"; echo " # if you haven't already, install the SDK with 'pip install sightengine'\n client = SightengineClient('{api_user}', '{api_secret}')\n output = client.check('{model}').set_url('https://d3m9459r9kwism.cloudfront.net/img/examples/example7.jpg')"; echo "curl -X GET -G 'https://api.sightengine.com/1.0/check.json' \ -d 'models={model}' \ -d 'api_user={api_user}&api_secret={api_secret}' \ -d 'url=https://d3m9459r9kwism.cloudfront.net/img/examples/example7.jpg'";
Output for 7.0.0 - 7.0.31, 7.1.0 - 7.1.21, 7.2.0 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.33, 8.2.0 - 8.2.29, 8.3.0 - 8.3.28, 8.4.1 - 8.4.14, 8.5.0 - 8.5.1
why not simply this version? // if you haven't already, install the SDK with \'composer require sightengine/client-php\' use \Sightengine\SightengineClient; = new SightengineClient('{api_user}', '{api_secret}'); (['{model}'])->set_url('https://d3m9459r9kwism.cloudfront.net/img/examples/example7.jpg') # if you haven't already, install the SDK with 'pip install sightengine' client = SightengineClient('{api_user}', '{api_secret}') output = client.check('{model}').set_url('https://d3m9459r9kwism.cloudfront.net/img/examples/example7.jpg')curl -X GET -G 'https://api.sightengine.com/1.0/check.json' \ -d 'models={model}' \ -d 'api_user={api_user}&api_secret={api_secret}' \ -d 'url=https://d3m9459r9kwism.cloudfront.net/img/examples/example7.jpg'
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15) /bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15) /bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15) /bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.

preferences:
204.29 ms | 408 KiB | 5 Q