3v4l.org

run code in 300+ PHP versions simultaneously
<style> table { border-width: 1px 1px 0px 0px; border-style: solid; border-color: #777; border-spacing: 0; width: 100%; max-width: 330px; float: left; margin: 0 20px 0 0; } th { /*background-color: #eee;*/ color: #fff; background: #c60000; text-align: left; border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } td { border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } tr:nth-child(even) { background: #fddbdb; } </style> <?php $json = file_get_contents('https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c'); $obj = json_decode($json, TRUE); $result = array(); echo '<table><thead><th>Datum</th><th>Naam</th></thead>'; for ($i = 0; $i < count($obj['results']); $i++) { print '<tr><td>' . $obj['results'][$i]["datum_value"] . '</td><td>' . $obj['results'][$i]["naam_value"] . '</td></tr>'; }
Output for 8.3.0 - 8.3.6
<style> table { border-width: 1px 1px 0px 0px; border-style: solid; border-color: #777; border-spacing: 0; width: 100%; max-width: 330px; float: left; margin: 0 20px 0 0; } th { /*background-color: #eee;*/ color: #fff; background: #c60000; text-align: left; border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } td { border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } tr:nth-child(even) { background: #fddbdb; } </style> Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/I8JRe on line 36 Warning: file_get_contents(): open_basedir restriction in effect. File(https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c) is not within the allowed path(s): (/tmp:/in:/etc) in /in/I8JRe on line 36 Warning: file_get_contents(https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c): Failed to open stream: Operation not permitted in /in/I8JRe on line 36 <table><thead><th>Datum</th><th>Naam</th></thead> Warning: Trying to access array offset on null in /in/I8JRe on line 41 Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /in/I8JRe:41 Stack trace: #0 {main} thrown in /in/I8JRe on line 41
Process exited with code 255.
Output for 8.0.10 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18
<style> table { border-width: 1px 1px 0px 0px; border-style: solid; border-color: #777; border-spacing: 0; width: 100%; max-width: 330px; float: left; margin: 0 20px 0 0; } th { /*background-color: #eee;*/ color: #fff; background: #c60000; text-align: left; border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } td { border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } tr:nth-child(even) { background: #fddbdb; } </style> Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/I8JRe on line 36 Warning: file_get_contents(): open_basedir restriction in effect. File(https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c) is not within the allowed path(s): (/tmp:/in:/etc) in /in/I8JRe on line 36 Warning: file_get_contents(https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c): Failed to open stream: Operation not permitted in /in/I8JRe on line 36 <table><thead><th>Datum</th><th>Naam</th></thead> Warning: Trying to access array offset on value of type null in /in/I8JRe on line 41 Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /in/I8JRe:41 Stack trace: #0 {main} thrown in /in/I8JRe on line 41
Process exited with code 255.
Output for 8.0.13
<style> table { border-width: 1px 1px 0px 0px; border-style: solid; border-color: #777; border-spacing: 0; width: 100%; max-width: 330px; float: left; margin: 0 20px 0 0; } th { /*background-color: #eee;*/ color: #fff; background: #c60000; text-align: left; border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } td { border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } tr:nth-child(even) { background: #fddbdb; } </style> Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/I8JRe on line 36 Warning: file_get_contents(https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c): Failed to open stream: No such file or directory in /in/I8JRe on line 36 <table><thead><th>Datum</th><th>Naam</th></thead> Warning: Trying to access array offset on value of type null in /in/I8JRe on line 41 Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /in/I8JRe:41 Stack trace: #0 {main} thrown in /in/I8JRe on line 41
Process exited with code 255.
Output for 8.0.0 - 8.0.9
<style> table { border-width: 1px 1px 0px 0px; border-style: solid; border-color: #777; border-spacing: 0; width: 100%; max-width: 330px; float: left; margin: 0 20px 0 0; } th { /*background-color: #eee;*/ color: #fff; background: #c60000; text-align: left; border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } td { border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } tr:nth-child(even) { background: #fddbdb; } </style> Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/I8JRe on line 36 Warning: file_get_contents(): open_basedir restriction in effect. File(https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c) is not within the allowed path(s): (/tmp:/in:/etc) in /in/I8JRe on line 36 Warning: file_get_contents(https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c): Failed to open stream: Operation not permitted in /in/I8JRe on line 36 <table><thead><th>Datum</th><th>Naam</th></thead> Warning: Trying to access array offset on value of type null in /in/I8JRe on line 41 Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, null given in /in/I8JRe:41 Stack trace: #0 {main} thrown in /in/I8JRe on line 41
Process exited with code 255.
Output for 7.4.33
<style> table { border-width: 1px 1px 0px 0px; border-style: solid; border-color: #777; border-spacing: 0; width: 100%; max-width: 330px; float: left; margin: 0 20px 0 0; } th { /*background-color: #eee;*/ color: #fff; background: #c60000; text-align: left; border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } td { border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } tr:nth-child(even) { background: #fddbdb; } </style> Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/I8JRe on line 36 Warning: file_get_contents(https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c): failed to open stream: No such file or directory in /in/I8JRe on line 36 <table><thead><th>Datum</th><th>Naam</th></thead> Notice: Trying to access array offset on value of type null in /in/I8JRe on line 41 Warning: count(): Parameter must be an array or an object that implements Countable in /in/I8JRe on line 41
Output for 7.4.0 - 7.4.32
<style> table { border-width: 1px 1px 0px 0px; border-style: solid; border-color: #777; border-spacing: 0; width: 100%; max-width: 330px; float: left; margin: 0 20px 0 0; } th { /*background-color: #eee;*/ color: #fff; background: #c60000; text-align: left; border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } td { border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } tr:nth-child(even) { background: #fddbdb; } </style> Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/I8JRe on line 36 Warning: file_get_contents(): open_basedir restriction in effect. File(https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c) is not within the allowed path(s): (/tmp:/in:/etc) in /in/I8JRe on line 36 Warning: file_get_contents(https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c): failed to open stream: Operation not permitted in /in/I8JRe on line 36 <table><thead><th>Datum</th><th>Naam</th></thead> Notice: Trying to access array offset on value of type null in /in/I8JRe on line 41 Warning: count(): Parameter must be an array or an object that implements Countable in /in/I8JRe on line 41
Output for 7.3.32 - 7.3.33
<style> table { border-width: 1px 1px 0px 0px; border-style: solid; border-color: #777; border-spacing: 0; width: 100%; max-width: 330px; float: left; margin: 0 20px 0 0; } th { /*background-color: #eee;*/ color: #fff; background: #c60000; text-align: left; border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } td { border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } tr:nth-child(even) { background: #fddbdb; } </style> Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/I8JRe on line 36 Warning: file_get_contents(https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c): failed to open stream: No such file or directory in /in/I8JRe on line 36 <table><thead><th>Datum</th><th>Naam</th></thead> Warning: count(): Parameter must be an array or an object that implements Countable in /in/I8JRe on line 41
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.31
<style> table { border-width: 1px 1px 0px 0px; border-style: solid; border-color: #777; border-spacing: 0; width: 100%; max-width: 330px; float: left; margin: 0 20px 0 0; } th { /*background-color: #eee;*/ color: #fff; background: #c60000; text-align: left; border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } td { border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } tr:nth-child(even) { background: #fddbdb; } </style> Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/I8JRe on line 36 Warning: file_get_contents(): open_basedir restriction in effect. File(https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c) is not within the allowed path(s): (/tmp:/in:/etc) in /in/I8JRe on line 36 Warning: file_get_contents(https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c): failed to open stream: Operation not permitted in /in/I8JRe on line 36 <table><thead><th>Datum</th><th>Naam</th></thead> Warning: count(): Parameter must be an array or an object that implements Countable in /in/I8JRe on line 41
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33
<style> table { border-width: 1px 1px 0px 0px; border-style: solid; border-color: #777; border-spacing: 0; width: 100%; max-width: 330px; float: left; margin: 0 20px 0 0; } th { /*background-color: #eee;*/ color: #fff; background: #c60000; text-align: left; border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } td { border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } tr:nth-child(even) { background: #fddbdb; } </style> Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/I8JRe on line 36 Warning: file_get_contents(): open_basedir restriction in effect. File(https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c) is not within the allowed path(s): (/tmp:/in:/etc) in /in/I8JRe on line 36 Warning: file_get_contents(https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c): failed to open stream: Operation not permitted in /in/I8JRe on line 36 <table><thead><th>Datum</th><th>Naam</th></thead>
Output for 5.4.0 - 5.4.45
<style> table { border-width: 1px 1px 0px 0px; border-style: solid; border-color: #777; border-spacing: 0; width: 100%; max-width: 330px; float: left; margin: 0 20px 0 0; } th { /*background-color: #eee;*/ color: #fff; background: #c60000; text-align: left; border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } td { border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } tr:nth-child(even) { background: #fddbdb; } </style> Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/I8JRe on line 36 Warning: file_get_contents(https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c): failed to open stream: No such file or directory in /in/I8JRe on line 36 <table><thead><th>Datum</th><th>Naam</th></thead>

preferences:
278.72 ms | 404 KiB | 376 Q