3v4l.org

run code in 300+ PHP versions simultaneously
<?php //complex variable syntax: ${'clr'} = "red"; // set dynamic variable $type = 'fruit'; ${'lovely' . $type} = 'apples'; echo "${'clr'} ${'lovely' . $type}\n"; // red apples

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.60.0210.00016.50
8.3.50.0040.01116.34
8.3.40.0070.00718.57
8.3.30.0000.01418.54
8.3.20.0000.00720.29
8.3.10.0070.00023.48
8.3.00.0060.00323.64
8.2.180.0100.00716.63
8.2.170.0070.00722.96
8.2.160.0100.00320.35
8.2.150.0080.00025.66
8.2.140.0080.00024.66
8.2.130.0000.00720.39
8.2.120.0000.00726.35
8.2.110.0040.00719.30
8.2.100.0040.00817.91
8.2.90.0080.00019.05
8.2.80.0040.00418.04
8.2.70.0080.00017.63
8.2.60.0080.00018.04
8.2.50.0040.00418.22
8.2.40.0040.00422.15
8.2.30.0050.00321.09
8.2.20.0040.00418.06
8.2.10.0040.00418.06
8.2.00.0070.00018.11
8.1.280.0000.02225.92
8.1.270.0050.00323.84
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0040.00421.06
8.1.230.0040.00717.62
8.1.220.0070.00017.74
8.1.210.0040.00418.77
8.1.200.0060.00317.47
8.1.190.0060.00317.70
8.1.180.0080.00018.10
8.1.170.0070.00318.59
8.1.160.0000.00718.89
8.1.150.0040.00418.79
8.1.140.0030.00517.58
8.1.130.0030.00318.92
8.1.120.0030.00317.42
8.1.110.0040.00417.30
8.1.100.0060.00317.34
8.1.90.0080.00017.36
8.1.80.0070.00317.48
8.1.70.0030.00317.48
8.1.60.0060.00317.52
8.1.50.0040.00417.53
8.1.40.0030.00617.41
8.1.30.0040.00417.64
8.1.20.0030.00517.57
8.1.10.0000.00817.54
8.1.00.0000.00917.50
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0040.00418.37
8.0.270.0000.00717.16
8.0.260.0030.00316.81
8.0.250.0070.00016.97
8.0.240.0000.00716.86
8.0.230.0040.00416.93
8.0.220.0000.00716.85
8.0.210.0070.00016.85
8.0.200.0000.00716.91
8.0.190.0030.00516.80
8.0.180.0000.00716.75
8.0.170.0080.00016.79
8.0.160.0060.00316.88
8.0.150.0000.00716.81
8.0.140.0030.00316.89
8.0.130.0040.00413.31
8.0.120.0040.00416.82
8.0.110.0050.00316.78
8.0.100.0040.00416.82
8.0.90.0070.00016.94
8.0.80.0070.01316.87
8.0.70.0050.00316.83
8.0.60.0070.00016.93
8.0.50.0040.00416.86
8.0.30.0070.01016.92
8.0.20.0090.00917.40
8.0.10.0070.00016.87
8.0.00.0120.01316.66
7.4.330.0000.00516.77
7.4.320.0030.00316.64
7.4.300.0000.00616.56
7.4.290.0050.00316.59
7.4.280.0040.00416.34
7.4.270.0030.00316.52
7.4.260.0040.00416.57
7.4.250.0000.00716.47
7.4.240.0030.00316.57
7.4.230.0000.00716.62
7.4.220.0070.01116.52
7.4.210.0050.01416.51
7.4.200.0070.00016.70
7.4.160.0080.00816.41
7.4.150.0070.01117.40
7.4.140.0100.00717.86
7.4.130.0070.01016.64
7.4.120.0140.00516.50
7.4.110.0110.01116.45
7.4.100.0130.01316.54
7.4.90.0140.00416.34
7.4.80.0110.00719.39
7.4.70.0090.01216.62
7.4.60.0090.00616.41
7.4.50.0110.00716.61
7.4.40.0100.01016.60
7.4.30.0060.00916.34
7.4.00.0030.01414.88
7.3.330.0030.00313.24
7.3.320.0030.00313.16
7.3.310.0030.00316.32
7.3.300.0000.00716.24
7.3.290.0040.00416.21
7.3.280.0100.00716.20
7.3.270.0030.01517.40
7.3.260.0100.00816.43
7.3.250.0120.00516.27
7.3.240.0090.00916.38
7.3.230.0120.00416.45
7.3.210.0090.00916.37
7.3.200.0070.01016.57
7.3.190.0080.00816.60
7.3.180.0080.00816.48
7.3.170.0070.01016.41
7.3.160.0150.00316.23
7.2.330.0060.01216.45
7.2.320.0070.01016.57
7.2.310.0140.00316.65
7.2.300.0030.01416.71
7.2.290.0060.01116.59
7.2.110.0100.00316.32
7.2.60.0030.01016.72
7.1.200.0040.00915.54
7.1.110.0070.00718.44
7.1.100.0060.00818.22
7.1.90.0090.00617.96
7.1.80.0000.01317.90
7.1.70.0070.00717.02
7.1.60.0190.00935.18
7.1.50.0170.01034.77
7.1.40.0190.00934.45
7.1.30.0220.00634.25
7.1.20.0180.00934.54
7.1.10.0030.01016.61
7.1.00.0030.01016.63
7.0.250.0070.01017.66
7.0.240.0000.01317.82
7.0.230.0000.01417.45
7.0.220.0030.01017.70
7.0.210.0000.01316.82
7.0.200.0030.01016.92
7.0.190.0070.00716.75
7.0.180.0030.01216.39
7.0.170.0080.00616.09
7.0.160.0000.01316.24
7.0.150.0030.00916.15
7.0.140.0080.00816.34
7.0.130.0070.00716.59
7.0.120.0060.00616.39
7.0.110.0070.00716.33
7.0.100.0050.00916.21
7.0.90.0070.00716.20
7.0.80.0030.01016.41
7.0.70.0090.00316.39
7.0.60.0080.00616.24
7.0.50.0030.01016.35
7.0.40.0070.00716.40
7.0.30.0060.00916.63
7.0.20.0040.00916.48
7.0.10.0030.01016.30
7.0.00.0000.01416.37

preferences:
56.65 ms | 400 KiB | 5 Q