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.60.0070.01416.50
8.3.50.0070.01118.24
8.3.40.0140.00719.04
8.3.30.0060.01018.87
8.3.20.0070.00024.18
8.3.10.0060.00324.66
8.3.00.0080.00026.16
8.2.180.0100.01025.92
8.2.170.0170.00319.13
8.2.160.0100.00722.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0070.00026.16
8.2.110.0070.00321.30
8.2.100.0040.00819.38
8.2.90.0000.00817.91
8.2.80.0060.00318.92
8.2.70.0080.00017.75
8.2.60.0050.00317.80
8.2.50.0030.00617.98
8.2.40.0040.00418.22
8.2.30.0050.00317.78
8.2.20.0040.00419.33
8.2.10.0000.00718.95
8.2.00.0060.00319.16
8.1.280.0120.00325.92
8.1.270.0000.00823.99
8.1.260.0080.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00022.14
8.1.230.0070.00420.97
8.1.220.0030.00617.74
8.1.210.0040.00418.91
8.1.200.0040.00717.35
8.1.190.0080.00017.35
8.1.180.0060.00318.10
8.1.170.0040.00417.62
8.1.160.0040.00418.79
8.1.150.0050.00218.64
8.1.140.0030.00617.50
8.1.130.0070.00018.83
8.1.120.0030.00517.55
8.1.110.0040.00417.43
8.1.100.0070.00417.46
8.1.90.0000.00717.44
8.1.80.0030.00517.43
8.1.70.0000.00717.59
8.1.60.0000.00717.68
8.1.50.0080.00017.51
8.1.40.0050.00317.64
8.1.30.0040.00417.75
8.1.20.0040.00417.71
8.1.10.0060.00317.72
8.1.00.0040.00417.61
8.0.300.0000.00720.16
8.0.290.0030.00716.88
8.0.280.0000.00718.30
8.0.270.0030.00316.90
8.0.260.0000.00718.45
8.0.250.0000.00817.00
8.0.240.0060.00016.93
8.0.230.0000.00716.93
8.0.220.0030.00316.98
8.0.210.0030.00316.91
8.0.200.0030.00517.04
8.0.190.0040.00416.92
8.0.180.0060.00316.88
8.0.170.0000.00917.00
8.0.160.0000.00917.00
8.0.150.0040.00416.88
8.0.140.0040.00416.91
8.0.130.0060.00013.45
8.0.120.0040.00416.92
8.0.110.0030.00516.90
8.0.100.0050.00316.93
8.0.90.0010.00716.90
8.0.80.0040.00416.93
8.0.70.0010.00616.98
8.0.60.0030.00516.90
8.0.50.0010.00716.94
8.0.30.0030.00416.96
8.0.20.0020.00617.00
8.0.10.0030.00517.04
8.0.00.0030.00417.09
7.4.330.0000.00615.55
7.4.320.0000.00616.66
7.4.300.0000.00616.79
7.4.290.0000.00716.62
7.4.280.0000.00716.73
7.4.270.0000.00716.76
7.4.260.0060.00013.42
7.4.250.0040.00316.63
7.4.240.0030.00416.72
7.4.230.0030.00316.71
7.4.220.0040.00416.65
7.4.210.0030.00416.66
7.4.200.0040.00316.67
7.4.190.0030.00516.69
7.4.180.0040.00316.73
7.4.160.0030.00516.73
7.4.150.0010.00616.75
7.4.140.0050.00216.67
7.4.130.0040.00316.67
7.4.120.0030.00416.74
7.4.110.0040.00416.55
7.4.100.0030.00416.65
7.4.90.0040.00316.67
7.4.80.0020.00616.56
7.4.70.0050.00216.67
7.4.60.0020.00516.71
7.4.50.0020.00616.49
7.4.40.0030.00516.52
7.4.30.0030.00416.66
7.4.20.0040.00416.49
7.4.10.0040.00416.55
7.4.00.0050.00216.59
7.3.330.0050.00216.34
7.3.320.0050.00013.13
7.3.310.0020.00516.30
7.3.300.0030.00416.28
7.3.290.0030.00416.24
7.3.280.0050.00316.36
7.3.270.0000.00716.21
7.3.260.0030.00416.29
7.3.250.0030.00316.21
7.3.240.0010.00616.24
7.3.230.0040.00416.32
7.3.220.0040.00316.26
7.3.210.0040.00416.19
7.3.200.0030.00416.17
7.3.190.0050.00216.15
7.3.180.0030.00416.10
7.3.170.0040.00216.23
7.3.160.0030.00316.27
7.3.150.0040.00316.20
7.3.140.0020.00516.23
7.3.130.0030.00416.13
7.3.120.0030.00416.17
7.3.110.0040.00416.22
7.3.100.0020.00516.07
7.3.90.0040.00316.53
7.3.80.0030.00416.30
7.3.70.0030.00516.33
7.3.60.0020.00516.41
7.3.50.0010.00616.41
7.3.40.0030.00416.28
7.3.30.0010.00616.35
7.3.20.0040.00318.09
7.3.10.0050.00318.10
7.3.00.0040.00518.23

preferences:
68.93 ms | 401 KiB | 5 Q