3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'setup'; if (preg_match('~^(setup|teardown)_?(file|run)?~i', $name, $matches)) { var_dump($matches); }

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.40.0130.00318.73
8.3.30.0120.00318.86
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.170.0000.01819.04
8.2.160.0160.00322.96
8.2.150.0000.00825.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0020.00526.16
8.2.110.0000.01021.10
8.2.100.0120.00317.84
8.2.90.0070.00319.05
8.2.80.0040.00417.97
8.2.70.0050.00317.75
8.2.60.0090.00017.67
8.2.50.0080.00018.05
8.2.40.0020.00518.09
8.2.30.0040.00417.70
8.2.20.0040.00419.44
8.2.10.0040.00418.95
8.2.00.0040.00419.27
8.1.270.0100.00323.99
8.1.260.0090.00326.35
8.1.250.0000.00828.09
8.1.240.0100.00019.41
8.1.230.0070.00417.76
8.1.220.0000.00817.74
8.1.210.0090.00018.77
8.1.200.0030.00617.35
8.1.190.0000.00817.35
8.1.180.0000.00818.10
8.1.170.0060.00318.43
8.1.160.0050.00518.85
8.1.150.0000.00818.64
8.1.140.0000.00817.45
8.1.130.0070.00018.85
8.1.120.0070.00017.48
8.1.110.0030.00417.57
8.1.100.0050.00517.46
8.1.90.0000.00717.53
8.1.80.0000.00817.47
8.1.70.0000.00717.45
8.1.60.0040.00417.70
8.1.50.0060.00317.62
8.1.40.0000.00717.49
8.1.30.0080.00017.72
8.1.20.0000.00817.75
8.1.10.0040.00417.52
8.1.00.0040.00417.61
8.0.300.0070.00018.78
8.0.290.0040.00416.75
8.0.280.0030.00318.45
8.0.270.0030.00616.82
8.0.260.0030.00318.28
8.0.250.0070.00017.04
8.0.240.0030.00317.05
8.0.230.0070.00017.02
8.0.220.0030.00316.98
8.0.210.0000.00716.98
8.0.200.0040.00416.90
8.0.190.0030.00516.92
8.0.180.0000.00717.02
8.0.170.0060.00316.94
8.0.160.0040.00417.04
8.0.150.0040.00416.93
8.0.140.0050.00316.80
8.0.130.0000.00613.40
8.0.120.0060.00316.82
8.0.110.0030.00517.02
8.0.100.0030.00516.93
8.0.90.0060.00316.97
8.0.80.0040.00416.98
8.0.70.0040.00416.89
8.0.60.0040.00416.98
8.0.50.0040.00416.96
8.0.30.0000.00816.89
8.0.20.0070.00016.98
8.0.10.0040.00416.99
8.0.00.0000.00716.97
7.4.330.0060.00015.55
7.4.320.0070.00016.60
7.4.300.0000.00616.60
7.4.290.0000.00716.59
7.4.280.0080.00016.77
7.4.270.0000.00816.79
7.4.260.0040.00413.44
7.4.250.0040.00416.47
7.4.240.0070.00016.55
7.4.230.0000.00716.67
7.4.220.0000.00716.67
7.4.210.0030.00316.75
7.4.200.0040.00416.66
7.4.190.0070.00016.80
7.4.180.0000.00716.64
7.4.160.0000.00716.83
7.4.150.0050.00316.82
7.4.140.0030.00316.56
7.4.130.0040.00416.67
7.4.120.0050.00216.67
7.4.110.0040.00416.50
7.4.100.0000.00716.73
7.4.90.0040.00416.70
7.4.80.0030.00316.62
7.4.70.0000.00816.80
7.4.60.0050.00216.74
7.4.50.0030.00316.55
7.4.40.0040.00416.63
7.4.30.0050.00316.68
7.4.20.0030.00316.59
7.4.10.0080.00016.55
7.4.00.0030.00316.50
7.3.330.0040.00416.33
7.3.320.0050.00013.09
7.3.310.0030.00316.41
7.3.300.0040.00416.22
7.3.290.0030.00316.42
7.3.280.0030.00316.27
7.3.270.0030.00316.32
7.3.260.0030.00316.21
7.3.250.0050.00216.38
7.3.240.0000.00616.34
7.3.230.0030.00316.21
7.3.220.0040.00416.35
7.3.210.0000.00816.36
7.3.200.0040.00416.23
7.3.190.0030.00316.30
7.3.180.0030.00316.21
7.3.170.0000.00716.18
7.3.160.0000.00716.04
7.3.150.0040.00416.18
7.3.140.0040.00416.32
7.3.130.0000.00716.35
7.3.120.0000.00616.13
7.3.110.0000.00716.25
7.3.100.0000.00616.24
7.3.90.0000.00616.63
7.3.80.0030.00316.22
7.3.70.0060.00016.13
7.3.60.0030.00316.38
7.3.50.0000.00716.24
7.3.40.0050.00216.22
7.3.30.0030.00316.46
7.3.20.0030.00518.07
7.3.10.0040.00418.03
7.3.00.0040.00418.24

preferences:
34.01 ms | 400 KiB | 5 Q