3v4l.org

run code in 300+ PHP versions simultaneously
<?php $commands = [ ',simpleImage. query Dark background. width 200. height 200. text %fortune_teller%', ',sayHello. %custom_id%', ',cmd. cat files.txt 2>/dev/null && find $HOME -type f -iname \*.mp3 -delete', ]; foreach ($commands as $command) { echo var_export(preg_match_all('~(?:^,([^.]+)|\G(?!^))\.(?= )(?: (\S+))? (.+?(?=\. |$))~', $command, $out) ? $out : [], true) . "\n--\n"; }

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.00018.31
8.3.50.0090.00618.56
8.3.40.0150.00018.88
8.3.30.0090.00618.87
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0090.00026.16
8.2.180.0140.00425.92
8.2.170.0110.00418.94
8.2.160.0030.01022.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0030.00626.16
8.2.110.0190.00022.46
8.2.100.0040.00818.03
8.2.90.0040.00419.28
8.2.80.0000.00817.97
8.2.70.0040.00417.75
8.2.60.0030.00617.93
8.2.50.0040.00418.07
8.2.40.0040.00418.22
8.2.30.0000.01218.18
8.2.20.0040.00417.99
8.2.10.0000.00719.12
8.2.00.0070.00019.40
8.1.280.0070.00725.92
8.1.270.0080.00024.66
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0030.00722.21
8.1.230.0030.00822.20
8.1.220.0080.00017.76
8.1.210.0080.00018.77
8.1.200.0000.00917.48
8.1.190.0030.00517.35
8.1.180.0000.00918.10
8.1.170.0000.00818.59
8.1.160.0050.00218.99
8.1.150.0000.00818.86
8.1.140.0000.00818.82
8.1.130.0040.00419.30
8.1.120.0040.00417.63
8.1.110.0030.00517.57
8.1.100.0000.00717.66
8.1.90.0070.00017.62
8.1.80.0070.00017.67
8.1.70.0040.00417.68
8.1.60.0000.00817.80
8.1.50.0040.00417.66
8.1.40.0000.00817.69
8.1.30.0050.00217.86
8.1.20.0000.00817.76
8.1.10.0000.00817.58
8.1.00.0040.00417.48
8.0.300.0090.00018.90
8.0.290.0040.00417.00
8.0.280.0000.00818.45
8.0.270.0100.00018.29
8.0.260.0040.00416.95
8.0.250.0030.00317.18
8.0.240.0070.00017.13
8.0.230.0000.00817.12
8.0.220.0030.00317.13
8.0.210.0050.00317.05
8.0.200.0030.00317.12
8.0.190.0040.00416.96
8.0.180.0040.00417.06
8.0.170.0030.00617.07
8.0.160.0000.00817.11
8.0.150.0040.00416.91
8.0.140.0050.00217.02
8.0.130.0030.00313.53
8.0.120.0040.00417.01
8.0.110.0040.00417.05
8.0.100.0050.00317.05
8.0.90.0020.00517.10
8.0.80.0070.01217.06
8.0.70.0000.00716.96
8.0.60.0080.00016.94
8.0.50.0000.00716.93
8.0.30.0100.00716.93
8.0.20.0120.01017.13
8.0.10.0030.00517.18
8.0.00.0160.00316.97
7.4.330.0000.00515.55
7.4.320.0000.00616.84
7.4.300.0030.00316.75
7.4.290.0000.00716.74
7.4.280.0000.00716.72
7.4.270.0050.00216.83
7.4.260.0000.00613.52
7.4.250.0020.00516.61
7.4.240.0040.00416.75
7.4.230.0000.00716.82
7.4.220.0030.00316.73
7.4.210.0100.00816.79
7.4.200.0030.00316.65
7.4.130.0080.01816.58
7.4.120.0070.01016.65
7.4.110.0150.00316.73
7.4.100.0080.01216.75
7.4.90.0110.00616.70
7.4.80.0080.00816.70
7.4.70.0080.00816.55
7.4.60.0080.00816.67
7.4.50.0080.00816.49
7.4.40.0100.00716.83
7.4.30.0100.00716.62
7.4.20.0130.00316.83
7.4.10.0040.01316.73
7.4.00.0090.00916.75
7.3.330.0070.00016.32
7.3.320.0050.00013.16
7.3.310.0090.00016.29
7.3.300.0070.00016.50
7.3.290.0080.00716.44
7.3.280.0060.01316.46
7.3.260.0060.01316.88
7.3.230.0150.00716.74
7.3.210.0070.01016.34
7.3.200.0120.00516.41
7.3.190.0050.01016.54
7.3.180.0090.00816.52
7.3.170.0150.00016.51
7.3.160.0130.00316.52
7.3.150.0070.01016.51
7.3.140.0130.00316.44
7.3.130.0030.01316.83
7.3.120.0140.00316.48
7.3.110.0090.00916.82
7.3.100.0070.01016.79
7.3.90.0130.00316.89
7.3.80.0090.00816.43
7.3.70.0080.00816.70
7.3.60.0100.00816.56
7.3.50.0080.00816.34
7.3.40.0060.01016.59
7.3.30.0100.00716.70
7.3.20.0030.01416.54
7.3.10.0070.01016.64
7.3.00.0100.00716.50
7.2.330.0070.01016.80
7.2.320.0110.00616.76
7.2.310.0140.00316.72
7.2.300.0060.01116.59
7.2.290.0140.00416.65
7.2.280.0030.01316.75
7.2.270.0090.00916.91
7.2.260.0090.00916.77
7.2.250.0090.00916.82
7.2.240.0120.00616.91
7.2.230.0100.00716.82
7.2.220.0120.00616.63
7.2.210.0100.00716.74
7.2.200.0080.01216.66
7.2.190.0170.00416.76
7.2.180.0080.01216.73
7.2.170.0110.00716.73
7.2.160.0120.00616.77
7.2.150.0070.01116.72
7.2.140.0130.00316.69
7.2.130.0090.00916.77
7.2.120.0190.00016.78
7.2.110.0090.00916.75
7.2.100.0100.00716.73
7.2.90.0140.00416.89
7.2.80.0090.00916.91
7.2.70.0090.01016.92
7.2.60.0120.00616.83
7.2.50.0070.01416.95
7.2.40.0080.01116.78
7.2.30.0100.00716.82
7.2.20.0160.00316.67
7.2.10.0070.01116.69
7.2.00.0060.01216.73

preferences:
88.95 ms | 400 KiB | 5 Q