3v4l.org

run code in 300+ PHP versions simultaneously
<?php $userinfo['lastname'] = "johnson"; function displayinfo() { global $userinfo; echo $userinfo['lastname']; } displayinfo();

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)
8.3.130.0040.00418.37
8.3.120.0080.00818.95
8.3.110.0120.00620.94
8.3.100.0060.00324.06
8.3.90.0040.00426.77
8.3.80.0030.00616.75
8.3.70.0070.01116.58
8.3.60.0140.00416.62
8.3.50.0120.00822.12
8.3.40.0090.00618.88
8.3.30.0140.00018.67
8.3.20.0040.00421.96
8.3.10.0070.00020.39
8.3.00.0000.00823.61
8.2.250.0180.00018.56
8.2.240.0050.00517.27
8.2.230.0040.01122.58
8.2.220.0060.01337.54
8.2.210.0150.00426.77
8.2.200.0030.00616.50
8.2.190.0060.01216.63
8.2.180.0140.00725.92
8.2.170.0070.00718.91
8.2.160.0030.01019.35
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0000.00826.16
8.2.110.0030.00620.21
8.2.100.0080.00417.62
8.2.90.0040.00418.34
8.2.80.0000.00817.97
8.2.70.0000.00817.93
8.2.60.0030.00618.09
8.2.50.0000.00818.10
8.2.40.0040.00419.42
8.2.30.0040.00419.33
8.2.20.0070.00018.16
8.2.10.0040.00419.31
8.2.00.0000.00719.23
8.1.300.0090.00918.53
8.1.290.0090.00318.88
8.1.280.0000.01525.92
8.1.270.0040.00422.08
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0090.00319.26
8.1.230.0040.00720.90
8.1.220.0000.00817.79
8.1.210.0050.00318.93
8.1.200.0040.00417.35
8.1.190.0080.00017.22
8.1.180.0030.00618.10
8.1.170.0080.00018.46
8.1.160.0030.00318.79
8.1.150.0000.00818.80
8.1.140.0030.00320.90
8.1.130.0030.00617.28
8.1.120.0040.00417.29
8.1.110.0080.00017.25
8.1.100.0040.00417.22
8.1.90.0070.00317.28
8.1.80.0040.00417.23
8.1.70.0040.00417.16
8.1.60.0080.00017.51
8.1.50.0040.00417.44
8.1.40.0000.00817.47
8.1.30.0050.00317.54
8.1.20.0070.00017.60
8.1.10.0000.00817.42
8.1.00.0050.00217.29
8.0.300.0020.00519.98
8.0.290.0070.00016.63
8.0.280.0060.00318.38
8.0.270.0000.00817.10
8.0.260.0030.00516.74
8.0.250.0030.00316.87
8.0.240.0030.00616.86
8.0.230.0050.00316.85
8.0.220.0000.00616.75
8.0.210.0040.00416.65
8.0.200.0030.00616.83
8.0.190.0130.01316.65
8.0.180.0050.00316.72
8.0.170.0030.00616.80
8.0.160.0000.00816.86
8.0.150.0000.00716.66
8.0.140.0000.00716.79
8.0.130.0030.00313.14
8.0.120.0030.00516.63
8.0.110.0040.00416.65
8.0.100.0040.00416.74
8.0.90.0090.00016.57
8.0.80.0170.00316.66
8.0.70.0030.00516.66
8.0.60.0000.00816.82
8.0.50.0040.00416.65
8.0.30.0170.00717.23
8.0.20.0100.01617.23
8.0.10.0040.00416.68
8.0.00.0110.00916.73
7.4.330.0060.00015.55
7.4.320.0000.00716.49
7.4.300.0000.00616.48
7.4.290.0000.00716.58
7.4.280.0000.00816.56
7.4.270.0040.00416.49
7.4.260.0110.00016.38
7.4.250.0000.00816.61
7.4.240.0050.00216.51
7.4.230.0000.00716.31
7.4.220.0030.00316.67
7.4.210.0070.00816.54
7.4.200.0040.00416.40
7.4.140.0130.01017.86
7.4.130.0060.01216.71
7.4.120.0030.01416.71
7.4.110.0110.01116.37
7.4.100.0130.00316.40
7.4.90.0090.00616.67
7.4.80.0060.01019.39
7.4.70.0100.00716.47
7.4.60.0060.01016.37
7.4.50.0090.00616.22
7.4.40.0110.00516.61
7.4.00.0050.00814.96
7.3.330.0030.00313.30
7.3.320.0000.00613.16
7.3.310.0040.00416.20
7.3.300.0070.00016.27
7.3.290.0000.00716.18
7.3.280.0120.00916.25
7.3.260.0120.00716.55
7.3.240.0130.00616.45
7.3.230.0160.00916.50
7.3.210.0060.01216.31
7.3.200.0140.00516.34
7.3.190.0120.00316.55
7.3.180.0070.01416.52
7.3.170.0090.00816.52
7.3.160.0100.01016.50
7.3.120.0070.01314.68
7.3.110.0030.01614.80
7.3.100.0000.01114.43
7.3.90.0070.00414.46
7.3.80.0030.01014.89
7.3.70.0080.00314.47
7.3.60.0090.00514.67
7.3.50.0040.00714.60
7.3.40.0090.00614.64
7.3.30.0020.01014.69
7.3.20.0080.00316.51
7.3.10.0060.00916.53
7.3.00.0060.00416.52
7.2.330.0090.01316.37
7.2.320.0110.02516.65
7.2.310.0070.01416.81
7.2.300.0070.01416.70
7.2.290.0090.01216.54
7.2.250.0000.01914.76
7.2.240.0030.01214.58
7.2.230.0100.00715.17
7.2.220.0030.00714.90
7.2.210.0030.01014.70
7.2.200.0050.00614.76
7.2.190.0060.00814.84
7.2.180.0100.00414.97
7.2.170.0050.00815.13
7.2.160.0130.00314.95
7.2.150.0090.00317.01
7.2.140.0090.00616.98
7.2.130.0060.00616.92
7.2.120.0070.01117.00
7.2.110.0000.01116.88
7.2.100.0090.00616.75
7.2.90.0060.00616.93
7.2.80.0000.01117.09
7.2.70.0040.01816.96
7.2.60.0070.01016.89
7.2.50.0050.00516.86
7.2.40.0070.00316.95
7.2.30.0030.00717.06
7.2.20.0100.00617.06
7.2.10.0070.00417.04
7.2.00.0040.00816.70
7.1.330.0100.00315.36
7.1.320.0070.00315.73
7.1.310.0000.01515.55
7.1.300.0040.00915.52
7.1.290.0050.00515.70
7.1.280.0050.00715.72
7.1.270.0050.00715.65
7.1.260.0060.00915.69
7.1.250.0070.00315.80

preferences:
29.64 ms | 403 KiB | 5 Q