3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('/(\Sstatus\S => \d)/', 'Array ( [status] => 1 [message] => Logged In Successfully. )', $matches ); if(!empty($matches)) { echo (int) $matches[0][strlen($matches[0]) -1]; }

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.4.140.0120.00917.70
8.4.130.0130.00818.10
8.4.120.0120.00820.37
8.4.110.0140.00722.54
8.4.100.0100.01020.38
8.4.90.0160.00518.63
8.4.80.0130.00718.82
8.4.70.0140.00218.08
8.4.60.0120.00718.65
8.4.50.0150.00619.77
8.4.40.0160.00317.76
8.4.30.0110.00820.51
8.4.20.0140.00718.13
8.4.10.0030.00619.74
8.3.270.0100.00916.62
8.3.260.0050.00416.76
8.3.250.0100.00918.79
8.3.240.0130.00517.34
8.3.230.0100.00716.79
8.3.220.0110.00618.71
8.3.210.0120.00716.78
8.3.200.0110.00816.73
8.3.190.0110.00816.63
8.3.180.0100.00516.75
8.3.170.0110.00717.22
8.3.160.0030.01420.30
8.3.150.0070.00416.79
8.3.140.0050.00317.12
8.3.130.0080.00316.84
8.3.120.0050.00319.05
8.3.110.0110.00820.94
8.3.100.0100.00716.63
8.3.90.0120.00326.77
8.3.80.0030.00616.63
8.3.70.0040.01816.58
8.3.60.0120.00316.75
8.3.50.0120.00318.36
8.3.40.0120.00318.95
8.3.30.0100.01018.88
8.3.20.0000.00824.18
8.3.10.0000.00824.66
8.3.00.0000.00726.16
8.2.290.0100.00920.70
8.2.280.0090.01018.20
8.2.270.0070.01117.44
8.2.260.0000.00816.67
8.2.250.0090.00617.07
8.2.240.0100.01017.30
8.2.230.0080.00022.58
8.2.220.0040.00424.06
8.2.210.0040.00426.77
8.2.200.0060.00316.88
8.2.190.0100.00716.58
8.2.180.0060.01325.92
8.2.170.0160.00018.95
8.2.160.0070.00722.96
8.2.150.0100.00725.66
8.2.140.0030.00624.66
8.2.130.0000.00726.16
8.2.120.0000.00821.32
8.2.110.0030.00621.14
8.2.100.0060.00617.97
8.2.90.0030.00519.22
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0000.01017.90
8.2.50.0050.00518.07
8.2.40.0040.00419.73
8.2.30.0040.00417.75
8.2.20.0080.00020.55
8.2.10.0050.00217.86
8.2.00.0040.00319.14
8.1.330.0090.00922.10
8.1.320.0120.00716.16
8.1.310.0130.00718.31
8.1.300.0030.00617.87
8.1.290.0030.00630.84
8.1.280.0070.00725.92
8.1.270.0000.00723.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.00323.98
8.1.230.0050.00519.55
8.1.220.0040.00417.74
8.1.210.0090.00318.77
8.1.200.0060.00317.11
8.1.190.0000.01017.23
8.1.180.0000.00818.10
8.1.170.0050.00318.63
8.1.160.0050.00318.83
8.1.150.0000.00718.72
8.1.140.0000.00717.40
8.1.130.0070.00017.52
8.1.120.0070.00017.57
8.1.110.0000.00717.49
8.1.100.0050.00317.51
8.1.90.0060.00317.57
8.1.80.0030.00517.54
8.1.70.0050.00217.52
8.1.60.0000.00917.71
8.1.50.0030.00617.59
8.1.40.0080.00017.64
8.1.30.0030.00517.70
8.1.20.0000.00817.74
8.1.10.0030.00517.64
8.1.00.0080.00017.45
8.0.300.0050.00218.77
8.0.290.0030.00616.63
8.0.280.0070.00018.59
8.0.270.0000.00716.95
8.0.260.0030.00316.82
8.0.250.0070.00017.02
8.0.240.0030.00317.04
8.0.230.0040.00417.01
8.0.220.0050.00216.95
8.0.210.0040.00416.86
8.0.200.0030.00317.01
8.0.190.0000.00816.88
8.0.180.0040.00416.95
8.0.170.0030.00617.05
8.0.160.0000.00717.05
8.0.150.0000.00717.00
8.0.140.0040.00716.91
8.0.130.0070.00516.86
8.0.120.0170.00316.89
8.0.110.0120.00516.86
8.0.100.0130.00516.78
8.0.90.0190.00016.94
8.0.80.0160.00316.93
8.0.70.0190.00016.85
8.0.60.0140.00516.83
8.0.50.0130.00516.79
8.0.30.0130.00616.93
8.0.20.0160.00317.07
8.0.10.0150.00416.95
8.0.00.0070.00317.02
7.4.330.0020.00215.55
7.4.320.0000.00816.79
7.4.300.0030.00716.63
7.4.290.0030.00316.71
7.4.280.0030.00616.69
7.4.270.0030.00616.75
7.4.260.0130.00816.62
7.4.250.0220.00016.59
7.4.240.0140.00216.50
7.4.230.0160.00316.56
7.4.220.0190.00616.56
7.4.210.0120.00816.73
7.4.200.0070.01016.63
7.4.190.0130.00516.54
7.4.180.0130.00416.85
7.4.160.0120.00616.59
7.4.150.0110.00316.73
7.4.140.0140.00516.49
7.4.130.0090.00916.63
7.4.120.0100.00716.66
7.4.110.0090.00916.64
7.4.100.0150.00316.63
7.4.90.0130.00416.69
7.4.80.0130.00316.75
7.4.70.0110.00816.51
7.4.60.0200.00016.63
7.4.50.0110.00716.63
7.4.40.0200.00016.68
7.4.30.0140.00316.73
7.4.20.0130.00216.57
7.4.10.0150.00516.50
7.4.00.0110.00716.55
7.3.330.0070.01316.29
7.3.320.0090.00916.36
7.3.310.0150.00316.38
7.3.300.0130.00316.24
7.3.290.0110.00716.46
7.3.280.0120.00616.49
7.3.270.0120.00616.41
7.3.260.0100.00316.26
7.3.250.0090.00716.33
7.3.240.0150.00316.43
7.3.230.0100.00516.30
7.3.220.0130.00416.42
7.3.210.0090.00616.39
7.3.200.0080.00416.31
7.3.190.0130.00016.18
7.3.180.0060.00616.13
7.3.170.0100.00316.32
7.3.160.0130.00016.20
7.3.150.0100.00316.11
7.3.140.0100.00316.39
7.3.130.0130.00016.13

preferences:
112.67 ms | 403 KiB | 5 Q