3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user = ['name' => 'Мария и Алекс']; ?> <?= count(preg_split("/\\s+/", $user['name'])) > 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.3.60.0100.00718.68
8.3.50.0030.01018.14
8.3.40.0100.00618.93
8.3.30.0120.00318.66
8.3.20.0050.00319.15
8.3.10.0000.00820.86
8.3.00.0040.00419.68
8.2.180.0130.00616.63
8.2.170.0110.00422.96
8.2.160.0100.00319.13
8.2.150.0050.00324.18
8.2.140.0030.00524.66
8.2.130.0040.00419.91
8.2.120.0080.00026.35
8.2.110.0070.00321.14
8.2.100.0030.00918.03
8.2.90.0040.00417.86
8.2.80.0060.00318.03
8.2.70.0000.00817.93
8.2.60.0000.00818.02
8.2.50.0060.00318.10
8.2.40.0070.00019.34
8.2.30.0000.00719.48
8.2.20.0050.00218.05
8.2.10.0040.00418.07
8.2.00.0030.00319.44
8.1.280.0190.00025.92
8.1.270.0050.00322.07
8.1.260.0070.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00323.91
8.1.230.0110.00020.97
8.1.220.0050.00317.74
8.1.210.0000.00719.04
8.1.200.0030.00617.38
8.1.190.0030.00517.35
8.1.180.0040.00418.10
8.1.170.0060.00318.76
8.1.160.0000.00718.96
8.1.150.0000.00818.78
8.1.140.0040.00417.62
8.1.130.0000.00719.02
8.1.120.0040.00417.52
8.1.110.0040.00417.55
8.1.100.0000.00717.54
8.1.90.0000.00817.48
8.1.80.0080.00017.60
8.1.70.0060.00317.62
8.1.60.0000.00917.62
8.1.50.0030.00617.55
8.1.40.0000.00817.68
8.1.30.0000.00817.82
8.1.20.0040.00417.77
8.1.10.0040.00417.77
8.1.00.0000.00917.48
8.0.300.0000.00719.85
8.0.290.0040.00416.75
8.0.280.0070.00018.45
8.0.270.0000.00717.18
8.0.260.0030.00317.30
8.0.250.0000.00717.15
8.0.240.0000.00817.15
8.0.230.0090.00017.00
8.0.220.0000.00717.00
8.0.210.0030.00316.96
8.0.200.0040.00417.00
8.0.190.0080.00017.07
8.0.180.0050.00317.01
8.0.170.0050.00317.07
8.0.160.0050.00217.00
8.0.150.0040.00316.97
8.0.140.0070.00016.98
8.0.130.0000.00613.46
8.0.120.0000.00816.92
8.0.110.0070.00016.87
8.0.100.0040.00417.02
8.0.90.0000.00716.91
8.0.80.0070.00917.04
8.0.70.0020.00517.00
8.0.60.0000.00717.09
8.0.50.0050.00316.89
8.0.30.0080.01117.18
8.0.20.0110.00817.46
8.0.10.0040.00417.15
8.0.00.0090.00916.88
7.4.330.0000.00515.55
7.4.320.0020.00516.70
7.4.300.0030.00316.80
7.4.290.0000.00716.58
7.4.280.0040.00416.82
7.4.270.0030.00516.70
7.4.260.0000.00716.77
7.4.250.0030.00316.65
7.4.240.0030.00316.71
7.4.230.0030.00316.91
7.4.220.0050.00316.61
7.4.210.0040.01116.68
7.4.200.0030.00516.80
7.4.160.0050.01116.77
7.4.140.0100.00817.86
7.4.130.0160.00616.70
7.4.120.0110.00816.71
7.4.110.0030.01316.79
7.4.100.0080.00816.82
7.4.90.0040.01316.63
7.4.80.0130.00419.39
7.4.70.0160.00616.75
7.4.60.0000.01516.64
7.4.50.0070.00716.80
7.4.40.0090.01316.63
7.4.00.0100.00714.91
7.3.330.0060.00013.32
7.3.320.0000.00613.15
7.3.310.0000.00716.34
7.3.300.0030.00316.39
7.3.290.0030.00316.25
7.3.280.0110.00816.33
7.3.260.0130.00616.57
7.3.240.0110.00816.41
7.3.230.0070.01016.71
7.3.210.0120.00916.34
7.3.200.0130.01016.46
7.3.190.0000.01716.53
7.3.180.0120.00416.59
7.3.170.0070.01016.65
7.3.160.0070.01016.56
7.3.10.0100.00216.60
7.3.00.0020.01016.83
7.2.330.0060.01216.93
7.2.320.0100.00716.89
7.2.310.0060.01216.79
7.2.300.0110.01116.89
7.2.290.0060.01416.67
7.2.130.0020.00916.92
7.2.120.0030.01017.10
7.2.110.0060.00817.30
7.2.100.0120.00517.07
7.2.90.0040.00917.06
7.2.80.0030.01017.19
7.2.70.0060.00617.18
7.2.60.0070.01016.47
7.2.50.0200.00616.38
7.2.40.0100.00916.58
7.2.30.0070.01016.52
7.2.20.0110.00816.56
7.2.10.0140.00716.58
7.2.00.0060.00816.60
7.1.250.0040.00716.01
7.1.200.0080.00415.55
7.1.170.0140.00913.94
7.1.160.3370.00916.98
7.1.150.0870.01216.95
7.1.140.0120.01016.74
7.1.130.0150.01017.03
7.1.120.3510.00716.93
7.1.110.0180.00716.16
7.1.101.3720.01116.27
7.1.90.0110.01016.47
7.1.80.0230.01216.43
7.1.70.0120.01515.13
7.1.60.0450.01433.47
7.1.51.3710.01433.02
7.1.42.0510.01332.63
7.1.31.7870.01432.95
7.1.20.3480.01433.07
7.1.10.0150.00814.98
7.1.00.0160.00815.12

preferences:
63.84 ms | 401 KiB | 5 Q