3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo\Bar\Baz; $closureBeforeDefined = function () { return A_RELATIVE_CONSTANT; }; define('A_RELATIVE_CONSTANT', 'IN GLOBAL NAMESPACE');2349 points submitted 7 hour2349 points submitted 7 hours ago by kurrock to /r/technology166 commentssharesavehidereport4 Scientists discover that glioblastoma cancer cells revert to normal when exposed to a particular enzyme inhibitor. Neuraminidase is the enzyme responsible for growth in many kinds of brain cancer. When blocked, the tumor cells reverted to normal, and refrained from growing.Cancer (sciencedaily.com) s ago by kurrock to /r/technology166 commentssharesavehidereport 4 Scientists discover that glioblastoma cancer cells revert to normal when exposed to a particular enzyme inhibitor. Neuraminidase is the enzyme responsible for growth in many kinds of brain cancer. When blocked, the tumor cells reverted to normal, and refrained from growing.Cancer (sciencedaily.com) 2349 points submitted 7 hours ago by kurrock to /r/technology166 commentssharesavehidereport 4 Scientists discover that glioblastoma cancer cells revert to normal when exposed to a particular enzyme inhibitor. Neuraminidase is the enzyme responsible for growth in many kinds of brain cancer. When blocked, the tumor cells reverted to normal, and refrained from growing.Cancer (sciencedaily.com) 2349 points submitted 7 hours ago by kurrock to /r/technology166 commentssharesavehidereport 4 Scientists discover that glioblastoma cancer cells revert to normal when exposed to a particular enzyme inhibitor. Neuraminidase is the enzyme responsible for growth in many kinds of brain cancer. When blocked, the tumor cells reverted to normal, and refrained from growing.Cancer (sciencedaily.com) var_dump($closureBeforeDefined()); define('Foo\\Bar\\Baz\\A_RELATIVE_CONSTANT', 'IN RELATIVE NAMESPACE'); $closureAfterDefined = function () { return A_RELATIVE_CONSTANT; }; var_dump($closureBeforeDefined()); var_dump($closureAfterDefined());

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.320.0080.04312.52
5.4.310.0060.03912.52
5.4.300.0050.04012.52
5.4.290.0120.03712.52
5.4.280.0040.04212.41
5.4.270.0060.04012.41
5.4.260.0080.04112.41
5.4.250.0080.04512.41
5.4.240.0070.04012.41
5.4.230.0080.03912.40
5.4.220.0090.04012.40
5.4.210.0080.03812.40
5.4.200.0090.04712.40
5.4.190.0090.03412.39
5.4.180.0070.03912.40
5.4.170.0060.03812.41
5.4.160.0090.04412.40
5.4.150.0100.03812.40
5.4.140.0080.05412.09
5.4.130.0050.03812.07
5.4.120.0020.03812.04
5.4.110.0060.03512.03
5.4.100.0090.04312.03
5.4.90.0070.04512.03
5.4.80.0110.03712.03
5.4.70.0050.04012.03
5.4.60.0020.03812.03
5.4.50.0090.03512.03
5.4.40.0060.03412.02
5.4.30.0040.03712.01
5.4.20.0060.03612.00
5.4.10.0040.03612.01
5.4.00.0050.03711.50
5.3.290.0030.04512.80
5.3.280.0060.03812.71
5.3.270.0070.03812.72
5.3.260.0080.04712.72
5.3.250.0060.03812.71
5.3.240.0070.04112.72
5.3.230.0080.03712.71
5.3.220.0080.03512.68
5.3.210.0110.04112.68
5.3.200.0120.03412.68
5.3.190.0070.03812.68
5.3.180.0060.04312.67
5.3.170.0050.04312.67
5.3.160.0100.04612.68
5.3.150.0140.04012.67
5.3.140.0100.03812.66
5.3.130.0070.04012.65
5.3.120.0120.04412.66
5.3.110.0110.03712.66
5.3.100.0120.03912.12
5.3.90.0090.04512.11
5.3.80.0050.04312.09
5.3.70.0050.03712.09
5.3.60.0100.03412.08
5.3.50.0100.03512.02
5.3.40.0080.05012.02
5.3.30.0060.04511.98
5.3.20.0070.03411.77
5.3.10.0060.03511.73
5.3.00.0050.03711.72
5.2.170.0120.0319.18
5.2.160.0050.0299.18
5.2.150.0090.0289.19
5.2.140.0020.0349.18
5.2.130.0160.0299.14
5.2.120.0140.0349.14
5.2.110.0090.0379.15
5.2.100.0080.0349.15
5.2.90.0090.0349.14
5.2.80.0090.0369.13
5.2.70.0070.0429.14
5.2.60.0050.0349.10
5.2.50.0080.0309.06
5.2.40.0070.0279.04
5.2.30.0040.0339.01
5.2.20.0060.0399.00
5.2.10.0060.0288.93
5.2.00.0050.0348.79
5.1.60.0080.0298.07
5.1.50.0050.0308.06
5.1.40.0060.0278.05
5.1.30.0030.0328.40
5.1.20.0070.0278.42
5.1.10.0070.0358.14
5.1.00.0090.0278.14
5.0.50.0040.0276.62
5.0.40.0040.0246.48
5.0.30.0050.0336.29
5.0.20.0040.0216.26
5.0.10.0050.0286.25
5.0.00.0030.0326.24
4.4.90.0030.0184.78
4.4.80.0040.0174.76
4.4.70.0030.0164.76
4.4.60.0030.0164.75
4.4.50.0050.0184.77
4.4.40.0010.0344.71
4.4.30.0060.0214.76
4.4.20.0040.0154.85
4.4.10.0030.0194.85
4.4.00.0050.0304.76
4.3.110.0010.0184.67
4.3.100.0050.0144.67
4.3.90.0010.0174.64
4.3.80.0020.0294.58
4.3.70.0050.0184.63
4.3.60.0040.0174.63
4.3.50.0030.0184.63
4.3.40.0020.0284.54
4.3.30.0020.0163.29
4.3.20.0010.0183.26
4.3.10.0030.0223.22
4.3.00.0270.01715.97

preferences:
140.56 ms | 1394 KiB | 7 Q