3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = null; $region_onfile = (is_null($test)) ? "1":"2";

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.70.0120.00318.30
8.3.60.0070.01016.50
8.3.50.0060.00916.33
8.3.40.0110.00418.37
8.3.30.0080.00818.47
8.3.20.0030.00620.30
8.3.10.0050.00323.53
8.3.00.0080.00019.31
8.2.180.0110.01116.50
8.2.170.0040.01122.96
8.2.160.0100.01019.09
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00019.31
8.2.120.0040.00426.35
8.2.110.0060.00322.24
8.2.100.0040.00717.72
8.2.90.0000.00917.90
8.2.80.0050.00319.21
8.2.70.0030.00617.25
8.2.60.0080.00017.79
8.2.50.0040.00418.10
8.2.40.0040.00420.59
8.2.30.0040.00419.17
8.2.20.0040.00418.04
8.2.10.0040.00417.96
8.2.00.0040.00418.03
8.1.280.0000.01425.92
8.1.270.0080.00023.88
8.1.260.0000.00726.35
8.1.250.0050.00228.09
8.1.240.0070.01022.07
8.1.230.0050.00520.97
8.1.220.0050.00317.74
8.1.210.0060.00318.92
8.1.200.0000.01017.23
8.1.190.0040.00417.10
8.1.180.0080.00018.10
8.1.170.0030.00618.71
8.1.160.0070.00018.99
8.1.150.0000.00718.80
8.1.140.0040.00419.50
8.1.130.0040.00418.80
8.1.120.0080.00017.40
8.1.110.0090.00017.32
8.1.100.0000.00817.36
8.1.90.0040.00417.34
8.1.80.0050.00317.30
8.1.70.0040.00417.43
8.1.60.0000.00917.48
8.1.50.0050.00317.45
8.1.40.0030.00517.41
8.1.30.0040.00417.59
8.1.20.0070.00317.48
8.1.10.0070.00017.33
8.1.00.0040.00417.38
8.0.300.0080.00020.02
8.0.290.0040.00416.63
8.0.280.0040.00418.38
8.0.270.0000.00717.05
8.0.260.0030.00316.63
8.0.250.0030.00516.82
8.0.240.0060.00316.78
8.0.230.0040.00416.88
8.0.220.0040.00416.68
8.0.210.0000.00716.86
8.0.200.0030.00316.89
8.0.190.0060.00316.75
8.0.180.0040.00416.73
8.0.170.0000.00816.81
8.0.160.0030.00716.86
8.0.150.0030.00316.65
8.0.140.0000.00716.68
8.0.130.0030.00313.23
8.0.120.0070.00016.68
8.0.110.0040.00416.64
8.0.100.0050.00216.64
8.0.90.0040.00416.82
8.0.80.0140.00316.86
8.0.70.0040.00416.62
8.0.60.0000.00716.82
8.0.50.0000.00816.68
8.0.30.0070.01116.97
8.0.20.0110.01317.40
8.0.10.0040.00416.97
8.0.00.0070.01016.65
7.4.330.0020.00215.55
7.4.320.0030.00316.41
7.4.300.0040.00416.33
7.4.290.0030.00316.43
7.4.280.0060.00316.33
7.4.270.0000.00816.52
7.4.260.0070.00316.42
7.4.250.0070.00016.57
7.4.240.0080.00016.56
7.4.230.0030.00316.62
7.4.220.0070.01016.56
7.4.210.0030.01116.54
7.4.200.0040.00416.61
7.4.160.0120.00616.28
7.4.150.0080.00817.40
7.4.140.0090.01117.86
7.4.130.0120.00416.27
7.4.120.0100.00916.42
7.4.110.0070.01116.40
7.4.100.0200.02016.47
7.4.90.0070.01016.21
7.4.80.0040.01219.39
7.4.70.0120.00916.44
7.4.60.0100.00716.19
7.4.50.0060.00916.26
7.4.40.0130.00316.56
7.4.30.0000.01716.19
7.4.00.0040.01114.96
7.3.330.0000.00512.96
7.3.320.0050.00012.88
7.3.310.0070.00016.19
7.3.300.0030.00316.11
7.3.290.0040.00416.04
7.3.280.0070.01016.10
7.3.270.0040.01417.40
7.3.260.0120.00516.34
7.3.250.0090.00916.33
7.3.240.0060.01116.15
7.3.230.0130.00316.14
7.3.210.0100.00716.33
7.3.200.0070.01116.04
7.3.190.0110.01016.35
7.3.180.0080.00816.35
7.3.170.0100.00616.32
7.3.160.0090.00616.18
7.2.330.0090.00916.48
7.2.320.0070.01116.46
7.2.310.0150.00616.31
7.2.300.0030.01316.58
7.2.290.0100.00716.39
7.2.60.0070.00716.77
7.2.00.0060.00319.32
7.1.200.0070.00715.77
7.1.100.0070.00717.68
7.1.70.0170.01115.18
7.1.60.0400.00833.13
7.1.50.0280.01332.89
7.1.40.0170.01732.49
7.1.30.0350.00832.42
7.1.20.0340.01832.76
7.1.10.0170.01114.63
7.1.00.0070.01314.77
7.0.200.0180.00714.74
7.0.190.0140.01114.93
7.0.180.0240.00614.24
7.0.170.0210.01014.46
7.0.160.0200.01114.24
7.0.150.0160.00914.27
7.0.140.0400.00614.48
7.0.130.0170.01214.46
7.0.120.0150.01014.47
7.0.110.0120.01614.07
7.0.100.0780.01014.30
7.0.90.0190.00914.28
7.0.80.0160.01114.20
7.0.70.0170.01014.45
7.0.60.0180.01414.31
7.0.50.0220.01114.47
7.0.40.0200.00914.57
7.0.30.0140.01014.57
7.0.20.0220.00314.48
7.0.10.0130.01014.34
7.0.00.0180.00414.49

preferences:
53.94 ms | 401 KiB | 5 Q