3v4l.org

run code in 300+ PHP versions simultaneously
<?php class लगर { const इन्फो = 'इन्फो'; public function लग(string $मेसेज, string $लेवल) { echo "[$लेवल] $मेसेज"; } } (new लगर)->लग('hello', लगर::इन्फो);

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.130.0030.00618.59
8.3.120.0090.00920.82
8.3.110.0040.00420.94
8.3.100.0080.01116.57
8.3.90.0050.00326.77
8.3.80.0060.00319.36
8.3.70.0110.00418.31
8.3.60.0150.00418.15
8.3.50.0090.00817.13
8.3.40.0070.00718.76
8.3.30.0150.00018.76
8.3.20.0030.00618.57
8.3.10.0050.00323.70
8.3.00.0070.00021.77
8.2.250.0090.00016.41
8.2.240.0060.00319.07
8.2.230.0030.00622.58
8.2.220.0070.00437.54
8.2.210.0160.00326.77
8.2.200.0060.00318.88
8.2.190.0110.01118.08
8.2.180.0090.01216.32
8.2.170.0040.01122.96
8.2.160.0170.00319.21
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00420.68
8.2.110.0070.00321.06
8.2.100.0060.00617.66
8.2.90.0030.00618.08
8.2.80.0040.00419.88
8.2.70.0090.00017.38
8.2.60.0040.00417.50
8.2.50.0000.00817.55
8.2.40.0050.00319.36
8.2.30.0030.00520.68
8.2.20.0040.00417.87
8.2.10.0000.00718.05
8.2.00.0000.00719.38
8.1.300.0060.00917.65
8.1.290.0060.00330.84
8.1.280.0060.01225.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0100.01022.52
8.1.230.0110.00022.68
8.1.220.0000.00817.74
8.1.210.0090.00418.77
8.1.200.0040.00417.22
8.1.190.0080.00017.00
8.1.180.0080.00018.10
8.1.170.0000.00818.38
8.1.160.0070.00018.64
8.1.150.0050.00318.76
8.1.140.0000.00718.67
8.1.130.0000.00717.38
8.1.120.0030.00617.34
8.1.110.0000.00717.22
8.1.100.0040.00417.35
8.1.90.0080.00017.32
8.1.80.0000.00717.37
8.1.70.0000.00717.31
8.1.60.0040.00417.52
8.1.50.0000.00817.32
8.1.40.0000.00817.46
8.1.30.0040.00417.42
8.1.20.0000.00717.50
8.1.10.0070.00017.51
8.1.00.0040.00417.47
8.0.300.0040.00419.89
8.0.290.0040.00416.75
8.0.280.0040.00418.35
8.0.270.0040.00416.82
8.0.260.0000.00916.78
8.0.250.0030.00316.83
8.0.240.0030.00316.86
8.0.230.0070.00016.95
8.0.220.0030.00316.84
8.0.210.0080.00016.78
8.0.200.0030.00316.84
8.0.190.0000.00816.90
8.0.180.0030.00516.80
8.0.170.0040.00416.82
8.0.160.0030.00316.78
8.0.150.0030.00316.68
8.0.140.0070.00016.70
8.0.130.0000.00513.18
8.0.120.0050.00316.71
8.0.110.0000.00816.71
8.0.100.0000.00716.84
8.0.90.0000.00716.89
8.0.80.0080.00716.81
8.0.70.0050.00316.84
8.0.60.0000.00716.92
8.0.50.0000.00716.69
8.0.30.0140.00317.35
8.0.20.0080.01317.40
8.0.10.0050.00216.85
8.0.00.0100.00716.80
7.4.330.0000.00715.55
7.4.320.0000.00716.52
7.4.300.0030.00316.39
7.4.290.0030.00316.50
7.4.280.0000.00716.55
7.4.270.0030.00516.45
7.4.260.0000.00716.45
7.4.250.0060.00316.51
7.4.240.0040.00416.42
7.4.230.0030.00316.65
7.4.220.0030.00616.61
7.4.210.0050.01016.61
7.4.200.0070.00016.64
7.4.160.0040.01216.45
7.4.140.0070.01317.86
7.4.130.0100.00716.50
7.4.120.0100.01016.53
7.4.110.0130.00316.38
7.4.100.0030.01416.55
7.4.90.0090.01516.38
7.4.80.0070.01519.39
7.4.70.0100.00716.38
7.4.60.0100.00716.54
7.4.50.0150.00016.17
7.4.40.0150.00316.42
7.4.00.0040.01115.07
7.3.330.0000.00513.17
7.3.320.0000.00613.32
7.3.310.0030.00316.26
7.3.300.0030.00316.27
7.3.290.0030.00316.30
7.3.280.0050.00916.24
7.3.260.0130.00716.32
7.3.240.0120.00616.44
7.3.230.0080.00816.55
7.3.210.0140.00316.47
7.3.200.0120.00916.59
7.3.190.0090.00616.36
7.3.180.0100.00716.27
7.3.170.0140.00316.44
7.3.160.0030.01216.50
7.3.10.0150.00716.37
7.3.00.0440.00715.54
7.2.330.0100.01316.45
7.2.320.0130.00316.59
7.2.310.0070.01116.64
7.2.300.0140.00316.54
7.2.290.0120.00616.43
7.2.130.0620.00315.87
7.2.120.1000.00815.32
7.2.110.0840.00715.36
7.2.100.0920.01115.35
7.2.90.1460.00615.15
7.2.80.1240.00715.31
7.2.70.1290.01015.11
7.2.60.1330.00715.36
7.2.50.1090.00815.13
7.2.40.1240.00815.20
7.2.30.0800.00615.42
7.2.20.1540.00815.36
7.2.10.0900.01115.44
7.2.00.1110.01015.12
7.1.250.0810.00614.75
7.1.240.1210.00814.27
7.1.230.0840.00314.34
7.1.220.1190.00614.47
7.1.210.1300.00814.11
7.1.200.1350.01214.29
7.1.190.1170.00614.24
7.1.180.1140.00214.11
7.1.170.1040.00914.07
7.1.160.1170.00714.12
7.1.150.0730.00614.26
7.1.140.1050.00614.21
7.1.130.0930.00614.23
7.1.120.0980.00814.25
7.1.110.0750.00614.18
7.1.100.0730.00714.29
7.1.90.1290.00714.10
7.1.80.1490.00614.21
7.1.70.0760.00814.31
7.1.60.0910.00718.53
7.1.50.0780.00718.61
7.1.40.0310.00718.68
7.1.30.2200.00718.63
7.1.20.1310.01118.56
7.1.10.1050.00714.26
7.1.00.0920.00914.12
7.0.330.0880.00814.55
7.0.320.1040.00613.91
7.0.310.1290.00714.05
7.0.300.1140.00913.99
7.0.290.0510.01114.44
7.0.280.0990.00714.02
7.0.270.0550.01014.34
7.0.260.1300.01014.40
7.0.250.0560.00914.56
7.0.240.0410.00914.50
7.0.230.0300.00814.55
7.0.220.0310.01214.27
7.0.210.0220.00514.43
7.0.200.0280.00714.44
7.0.190.0230.00514.42
7.0.180.0260.00914.60
7.0.170.0210.00814.40
7.0.160.0260.00714.50
7.0.150.0230.00914.35
7.0.140.0270.00814.26
7.0.130.0240.00714.27
7.0.120.0270.00714.41
7.0.110.0260.00614.36
7.0.100.0280.01314.55
7.0.90.0270.00514.26
7.0.80.0410.00814.21
7.0.70.0200.01114.33
7.0.60.0260.01114.34
7.0.50.0260.00814.21
7.0.40.0220.01013.56
7.0.30.0190.00913.59
7.0.20.0220.00513.46
7.0.10.0280.00513.37
7.0.00.0260.00413.51
5.6.380.0120.00614.06
5.6.370.0140.01014.34
5.6.360.0160.00614.08
5.6.350.0120.01414.25
5.6.340.0160.00914.20
5.6.330.0130.01014.31
5.6.320.0190.00514.18
5.6.310.0100.01014.37
5.6.300.0130.00914.19
5.6.290.0100.01214.29
5.6.280.0160.00614.26
5.6.270.0120.01014.34
5.6.260.0090.01614.17
5.6.250.0090.01114.42
5.6.240.0130.01014.31
5.6.230.0140.01014.23
5.6.220.0130.01014.02
5.6.210.0110.00914.26
5.6.200.0150.00714.12
5.6.190.0130.00814.19
5.6.180.0120.01114.29
5.6.170.0150.00914.31
5.6.160.0100.01214.22
5.6.150.0140.00814.31
5.6.140.0190.00514.28
5.6.130.0160.00614.30
5.6.120.0150.00914.06
5.6.110.0140.00914.03
5.6.100.0170.00814.21
5.6.90.0090.00914.20
5.6.80.0090.01214.29
5.6.70.0130.01114.14
5.6.60.0100.01314.14
5.6.50.0150.00614.07
5.6.40.0150.00914.06
5.6.30.0160.00814.06
5.6.20.0110.01014.09
5.6.10.0120.00914.03
5.6.00.0120.01113.95
5.5.380.0070.00610.91
5.5.370.0050.00410.99
5.5.360.0030.00911.01
5.5.350.0080.00510.96
5.5.340.0070.00810.89
5.5.330.0060.00711.11
5.5.320.0070.00610.95
5.5.310.0080.00510.72
5.5.300.0080.00710.98
5.5.290.0070.00810.96
5.5.280.0120.00211.03
5.5.270.0040.00910.81
5.5.260.0060.00711.01
5.5.250.0090.00310.98
5.5.240.0090.00610.96
5.5.230.0070.00711.00
5.5.220.0120.00210.72
5.5.210.0100.00411.04
5.5.200.0100.00411.00
5.5.190.0100.00410.90
5.5.180.0060.00811.07
5.5.170.0090.00311.09
5.5.160.0020.01010.98
5.5.150.0040.00711.09
5.5.140.0040.00711.01
5.5.130.0090.00311.01
5.5.120.0050.00810.76
5.5.110.0130.00211.12
5.5.100.0060.00510.84
5.5.90.0060.00510.97
5.5.80.0040.00611.01
5.5.70.0030.00910.99
5.5.60.0090.00310.87
5.5.50.0090.00510.90
5.5.40.0070.00710.86
5.5.30.0070.00710.87
5.5.20.0050.00910.88
5.5.10.0080.00410.76
5.5.00.0100.00210.77
5.4.450.0110.00410.90
5.4.440.0050.00910.99
5.4.430.0080.00510.81
5.4.420.0090.00210.98
5.4.410.0020.00710.93
5.4.400.0080.00710.87
5.4.390.0110.00210.88
5.4.380.0090.00410.88
5.4.370.0050.00910.95
5.4.360.0070.00610.91
5.4.350.0090.00510.81
5.4.340.0090.00610.87
5.4.330.0080.00310.70
5.4.320.0030.01010.70
5.4.310.0030.00710.82
5.4.300.0070.00511.02
5.4.290.0070.00510.81
5.4.280.0060.00510.68
5.4.270.0090.00610.78
5.4.260.0060.00610.69
5.4.250.0080.00610.82
5.4.240.0080.00410.81
5.4.230.0050.00810.68
5.4.220.0050.00910.79
5.4.210.0020.01010.91
5.4.200.0070.00610.78
5.4.190.0070.00710.77
5.4.180.0060.00510.91
5.4.170.0050.00610.68
5.4.160.0070.00210.67
5.4.150.0070.00510.66
5.4.140.0020.00910.95
5.4.130.0070.00510.74
5.4.120.0050.00710.85
5.4.110.0050.00310.76
5.4.100.0070.00610.83
5.4.90.0070.00510.93
5.4.80.0020.00810.71
5.4.70.0060.00410.89
5.4.60.0050.00710.89
5.4.50.0070.00710.66
5.4.40.0070.00510.64
5.4.30.0120.00310.74
5.4.20.0090.00310.76
5.4.10.0030.00810.76
5.4.00.0080.00610.85
5.3.290.0080.00810.24
5.3.280.0080.00610.06
5.3.270.0070.00410.21
5.3.260.0050.00610.31
5.3.250.0040.00610.16
5.3.240.0050.00710.18
5.3.230.0070.00310.27
5.3.220.0090.00510.12
5.3.210.0060.00710.26
5.3.200.0090.00310.19
5.3.190.0040.00710.18
5.3.180.0040.00910.42
5.3.170.0070.00610.37
5.3.160.0070.00510.40
5.3.150.0090.00210.28
5.3.140.0100.00310.32
5.3.130.0050.00610.39
5.3.120.0050.00610.22
5.3.110.0070.00510.14
5.3.100.0040.00410.24
5.3.90.0050.00810.38
5.3.80.0070.00610.18
5.3.70.0040.00610.15
5.3.60.0090.00310.30
5.3.50.0000.01110.11
5.3.40.0080.00310.13
5.3.30.0070.00510.18
5.3.20.0120.00510.12
5.3.10.0100.0069.91
5.3.00.0080.00610.01
5.2.170.0040.0039.37
5.2.160.0040.0069.29
5.2.150.0050.0059.35
5.2.140.0080.0059.25
5.2.130.0080.0039.25
5.2.120.0070.0079.20
5.2.110.0030.0099.32
5.2.100.0080.0029.30
5.2.90.0060.0059.33
5.2.80.0060.0039.27
5.2.70.0060.0059.02
5.2.60.0060.0069.10
5.2.50.0070.0079.23
5.2.40.0080.0049.24
5.2.30.0070.0059.20
5.2.20.0060.0049.09
5.2.10.0090.0039.05
5.2.00.0050.0039.03
5.1.60.0020.0079.01
5.1.50.0020.0089.01
5.1.40.0050.0039.01
5.1.30.0040.0059.01
5.1.20.0040.0059.01
5.1.10.0020.0069.01
5.1.00.0020.0069.01
5.0.50.0050.0029.01
5.0.40.0030.0049.01
5.0.30.0020.0049.01
5.0.20.0010.0059.01
5.0.10.0040.0019.01
5.0.00.0030.0039.01
4.4.90.0030.0059.01
4.4.80.0000.0069.01
4.4.70.0050.0029.01
4.4.60.0000.0069.01
4.4.50.0060.0029.01
4.4.40.0010.0049.01
4.4.30.0060.0009.01
4.4.20.0000.0059.01
4.4.10.0040.0019.01
4.4.00.0020.0059.01
4.3.110.0020.0049.01
4.3.100.0000.0049.01
4.3.90.0010.0049.01
4.3.80.0030.0039.01
4.3.70.0020.0039.01
4.3.60.0040.0009.01
4.3.50.0020.0059.01
4.3.40.0040.0029.01
4.3.30.0040.0049.01
4.3.20.0030.0059.01
4.3.10.0000.0079.01
4.3.00.0030.0059.01

preferences:
32.47 ms | 403 KiB | 5 Q