3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'setup_foobar'; if (preg_match('~^(setup|teardown)_?(file|run)?_?(.*)~i', $name, $matches)) { print_r($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.0180.00416.88
8.3.50.0120.00618.22
8.3.40.0170.00319.00
8.3.30.0070.00718.71
8.3.20.0070.00024.18
8.3.10.0060.00324.66
8.3.00.0000.00726.16
8.2.180.0150.00725.92
8.2.170.0150.00018.91
8.2.160.0100.00722.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0090.00020.47
8.2.100.0040.00717.84
8.2.90.0060.00317.75
8.2.80.0000.00818.91
8.2.70.0040.00417.75
8.2.60.0030.00517.75
8.2.50.0040.00417.98
8.2.40.0080.00019.84
8.2.30.0000.00717.80
8.2.20.0040.00419.46
8.2.10.0070.00019.02
8.2.00.0040.00419.14
8.1.280.0090.00925.92
8.1.270.0070.00023.99
8.1.260.0080.00426.35
8.1.250.0030.00528.09
8.1.240.0090.00023.75
8.1.230.0090.00320.93
8.1.220.0030.00618.62
8.1.210.0050.00418.77
8.1.200.0000.00917.36
8.1.190.0060.00317.25
8.1.180.0040.00418.10
8.1.170.0090.00017.62
8.1.160.0000.00818.82
8.1.150.0070.00018.73
8.1.140.0000.00817.41
8.1.130.0000.00718.75
8.1.120.0050.00217.45
8.1.110.0000.00817.40
8.1.100.0080.00317.55
8.1.90.0040.00417.56
8.1.80.0040.00417.54
8.1.70.0040.00417.37
8.1.60.0000.00817.57
8.1.50.0030.00617.65
8.1.40.0030.00517.65
8.1.30.0000.00817.80
8.1.20.0040.00417.64
8.1.10.0040.00417.66
8.1.00.0000.00717.61
8.0.300.0000.00718.77
8.0.290.0000.00716.62
8.0.280.0000.00718.31
8.0.270.0000.00716.96
8.0.260.0060.00018.32
8.0.250.0030.00517.05
8.0.240.0050.00317.00
8.0.230.0000.00717.05
8.0.220.0030.00316.96
8.0.210.0030.00316.88
8.0.200.0000.00717.07
8.0.190.0040.00416.93
8.0.180.0090.00016.90
8.0.170.0030.00617.00
8.0.160.0000.00816.98
8.0.150.0000.00817.01
8.0.140.0000.00816.93
8.0.130.0000.00713.33
8.0.120.0060.00316.98
8.0.110.0060.00316.90
8.0.100.0000.00816.94
8.0.90.0000.00716.92
8.0.80.0090.00016.84
8.0.70.0050.00316.87
8.0.60.0070.00017.00
8.0.50.0040.00416.98
8.0.30.0030.00516.95
8.0.20.0000.00916.92
8.0.10.0070.00016.92
8.0.00.0050.00317.13
7.4.330.0050.00015.55
7.4.320.0030.00316.57
7.4.300.0000.00616.61
7.4.290.0040.00416.59
7.4.280.0000.00816.69
7.4.270.0040.00416.66
7.4.260.0000.00913.45
7.4.250.0070.00016.62
7.4.240.0080.00016.73
7.4.230.0030.00316.75
7.4.220.0000.00716.66
7.4.210.0030.00316.80
7.4.200.0050.00316.57
7.4.190.0030.00316.72
7.4.180.0040.00416.80
7.4.160.0050.00316.75
7.4.150.0030.00616.62
7.4.140.0050.00316.76
7.4.130.0030.00316.59
7.4.120.0040.00416.56
7.4.110.0030.00316.61
7.4.100.0030.00316.73
7.4.90.0000.00716.74
7.4.80.0000.00716.67
7.4.70.0030.00316.76
7.4.60.0000.00916.61
7.4.50.0090.00016.46
7.4.40.0000.00816.43
7.4.30.0000.00716.55
7.4.20.0070.00016.62
7.4.10.0030.00516.52
7.4.00.0070.00016.44
7.3.330.0000.00716.20
7.3.320.0030.00313.13
7.3.310.0070.00016.21
7.3.300.0000.00716.25
7.3.290.0000.00716.16
7.3.280.0040.00416.43
7.3.270.0080.00016.12
7.3.260.0040.00416.32
7.3.250.0050.00516.19
7.3.240.0040.00416.21
7.3.230.0040.00416.23
7.3.220.0000.00716.16
7.3.210.0060.00316.24
7.3.200.0030.00616.28
7.3.190.0000.00716.36
7.3.180.0000.00716.25
7.3.170.0000.00716.13
7.3.160.0000.00816.27
7.3.150.0080.00016.15
7.3.140.0070.00016.09
7.3.130.0040.00416.24
7.3.120.0000.00716.11
7.3.110.0000.00816.16
7.3.100.0040.00416.08
7.3.90.0040.00416.67
7.3.80.0030.00316.36
7.3.70.0000.00716.26
7.3.60.0040.00416.48
7.3.50.0030.00316.34
7.3.40.0070.00016.46
7.3.30.0070.00016.32
7.3.20.0030.00318.15
7.3.10.0050.00218.24
7.3.00.0000.00718.11

preferences:
61.77 ms | 401 KiB | 5 Q