3v4l.org

run code in 300+ PHP versions simultaneously
<?php // The IntlDateFormatter::FULL arguments are optional in PHP 8.1. $fmt = new IntlDateFormatter('de_DE', IntlDateFormatter::FULL, IntlDateFormatter::FULL); $fmt->setPattern('MMM'); var_dump($fmt->format(new DateTime));

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.70.0070.01321.93
8.3.60.0160.00619.88
8.3.50.0090.01321.48
8.3.40.0120.00322.76
8.3.30.0130.00321.07
8.3.20.0040.00424.27
8.3.10.0030.00524.66
8.3.00.0090.00026.16
8.2.190.0130.01020.25
8.2.180.0090.00625.92
8.2.170.0070.01021.41
8.2.160.0100.00724.38
8.2.150.0050.00525.66
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0030.00724.05
8.2.110.0000.00924.57
8.2.100.0070.00722.70
8.2.90.0060.00320.88
8.2.80.0000.00821.21
8.2.70.0000.00920.75
8.2.60.0030.00620.75
8.2.50.0000.00920.88
8.2.40.0090.00923.36
8.2.30.0060.00321.59
8.2.20.0030.00621.23
8.2.10.0000.01023.36
8.2.00.0050.00321.64
8.1.280.0160.00325.92
8.1.270.0040.00424.49
8.1.260.0060.00326.35
8.1.250.0000.01028.09
8.1.240.0040.00722.93
8.1.230.0090.00320.89
8.1.220.0030.00620.77
8.1.210.0100.00020.47
8.1.200.0060.00620.50
8.1.190.0000.01020.38
8.1.180.0100.00320.39
8.1.170.0040.00421.54
8.1.160.0030.00522.93
8.1.150.0000.00821.24
8.1.140.0030.00523.08
8.1.130.0000.00820.75
8.1.120.0040.00420.75
8.1.110.0030.00520.55
8.1.100.0040.00420.62
8.1.90.0050.00320.52
8.1.80.0030.00620.75
8.1.70.0040.00420.68
8.1.60.0000.00820.67
8.1.50.0040.00820.69
8.1.40.0040.00420.78
8.1.30.0000.01020.94
8.1.20.0000.00820.92
8.1.10.0030.00720.63
8.1.00.0000.00920.59
8.0.300.0030.00520.16
8.0.290.0060.00320.00
8.0.280.0080.00020.73
8.0.270.0040.00419.94
8.0.260.0000.00820.00
8.0.250.0070.00420.36
8.0.240.0000.00820.29
8.0.230.0080.00020.27
8.0.220.0000.00920.18
8.0.210.0040.00420.13
8.0.200.0080.00420.27
8.0.190.0040.00420.25
8.0.180.0100.00720.16
8.0.170.0070.00720.16
8.0.160.0130.00620.00
8.0.150.0060.00320.13
8.0.140.0080.00320.03
8.0.130.0030.00313.25
8.0.120.0040.00420.13
8.0.110.0010.00720.26
8.0.100.0030.00620.24
8.0.90.0060.00420.25
8.0.80.0080.01020.17
8.0.70.0050.00620.09
8.0.60.0040.00719.98
8.0.50.0070.00420.21
8.0.30.0060.00620.17
8.0.20.0050.00720.12
8.0.10.0080.00520.32
8.0.00.0060.00720.25
7.4.330.0020.00215.55
7.4.320.0040.00419.73
7.4.300.0030.00419.93
7.4.290.0130.00619.57
7.4.280.0070.00719.74
7.4.270.0040.00419.89
7.4.260.0000.00513.20
7.4.250.0070.00019.86
7.4.240.0070.00219.93
7.4.230.0050.00419.85
7.4.220.0040.00419.80
7.4.210.0120.00319.92
7.4.200.0050.00619.79
7.4.190.0030.00819.94
7.4.180.0040.00619.98
7.4.160.0010.00919.93
7.4.150.0060.00619.74
7.4.140.0040.00619.74
7.4.130.0040.00819.74
7.4.120.0040.00719.68
7.4.110.0060.00519.62
7.4.100.0030.00719.86
7.4.90.0080.00319.77
7.4.80.0030.00819.50
7.4.70.0050.00519.74
7.4.60.0040.00719.61
7.4.50.0080.00319.66
7.4.40.0020.00919.58
7.4.30.0040.00619.71
7.4.20.0080.00319.58
7.4.10.0070.00619.68
7.4.00.0060.00819.53
7.3.330.0040.00419.16
7.3.320.0000.00513.10
7.3.310.0010.00719.43
7.3.300.0070.00219.55
7.3.290.0070.01019.32
7.3.280.0030.00919.46
7.3.270.0060.00519.49
7.3.260.0020.01119.32
7.3.250.0040.00819.48
7.3.240.0050.00719.43
7.3.230.0020.01019.41
7.3.220.0090.00419.45
7.3.210.0020.00819.37
7.3.200.0060.00619.34
7.3.190.0060.00619.38
7.3.180.0070.00519.46
7.3.170.0020.01019.46
7.3.160.0040.00619.44
7.3.150.0040.00619.39
7.3.140.0050.00519.44
7.3.130.0040.00619.23
7.3.120.0020.00819.31
7.3.110.0040.00619.39
7.3.100.0000.01019.24
7.3.90.0030.00719.66
7.3.80.0050.00619.38
7.3.70.0060.00519.41
7.3.60.0040.00519.44
7.3.50.0060.00319.32
7.3.40.0040.00519.47
7.3.30.0060.00419.47
7.3.20.0050.00620.75
7.3.10.0030.00720.67
7.3.00.0030.00820.62

preferences:
71.26 ms | 401 KiB | 5 Q