3v4l.org

run code in 300+ PHP versions simultaneously
<?php function evalRichText($richText) { if (substr($richText, 0, 5) == "#FNC#") { $richText = substr($richText, 5) . ';'; eval("\$richTextResult=$richText"); return $richTextResult; } else { return evalRichTextVars(evalRichTextLang($richText)); } }

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.0090.00918.18
8.3.50.0110.00418.04
8.3.40.0100.01018.71
8.3.30.0070.00718.36
8.3.20.0070.00020.77
8.3.10.0040.00423.71
8.3.00.0040.00423.66
8.2.180.0090.00918.16
8.2.170.0110.00422.96
8.2.160.0100.00322.25
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00419.70
8.2.110.0060.00320.30
8.2.100.0080.00417.49
8.2.90.0080.00017.63
8.2.80.0030.00618.41
8.2.70.0040.00417.38
8.2.60.0040.00417.50
8.2.50.0050.00317.55
8.2.40.0040.00417.62
8.2.30.0050.00219.16
8.2.20.0030.00517.94
8.2.10.0000.00719.14
8.2.00.0050.00219.23
8.1.280.0110.00725.92
8.1.270.0060.00323.99
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0090.00923.64
8.1.230.0110.00020.87
8.1.220.0060.00318.44
8.1.210.0000.00818.77
8.1.200.0000.00817.10
8.1.190.0050.00317.27
8.1.180.0040.00418.10
8.1.170.0000.00717.62
8.1.160.0040.00418.79
8.1.150.0070.00018.68
8.1.140.0040.00422.18
8.1.130.0040.00420.04
8.1.120.0030.00317.27
8.1.110.0080.00017.36
8.1.100.0000.00817.29
8.1.90.0030.00317.36
8.1.80.0030.00517.25
8.1.70.0030.00617.35
8.1.60.0030.00617.36
8.1.50.0090.00017.29
8.1.40.0040.00417.39
8.1.30.0040.00417.54
8.1.20.0100.00017.46
8.1.10.0000.00717.30
8.1.00.0030.00617.33
8.0.300.0070.00018.77
8.0.290.0070.00016.58
8.0.280.0030.00318.32
8.0.270.0000.00717.09
8.0.260.0000.00618.19
8.0.250.0040.00416.84
8.0.240.0060.00016.74
8.0.230.0000.00716.71
8.0.220.0060.00316.82
8.0.210.0030.00516.79
8.0.200.0030.00616.85
8.0.190.0040.00416.72
8.0.180.0080.00016.81
8.0.170.0040.00416.69
8.0.160.0070.00316.72
8.0.150.0040.00416.73
8.0.140.0030.00316.61
8.0.130.0050.00013.17
8.0.120.0000.00716.72
8.0.110.0000.00816.72
8.0.100.0040.00416.65
8.0.90.0050.00216.59
8.0.80.0120.00616.79
8.0.70.0070.00016.81
8.0.60.0040.00416.59
8.0.50.0090.00016.76
8.0.30.0080.01017.04
8.0.20.0090.01017.40
8.0.10.0050.00316.75
8.0.00.0100.01016.49
7.4.330.0020.00215.55
7.4.320.0060.00016.48
7.4.300.0030.00316.44
7.4.290.0000.00616.50
7.4.280.0000.00716.48
7.4.270.0050.00516.46
7.4.260.0000.00716.37
7.4.250.0030.00516.36
7.4.240.0000.00716.32
7.4.230.0040.00416.27
7.4.220.0080.00016.22
7.4.210.0080.00616.38
7.4.200.0030.00316.55
7.4.160.0070.00916.34
7.4.140.0130.00517.86
7.4.130.0160.01016.50
7.4.120.0090.01016.24
7.4.110.0030.01516.45
7.4.100.0140.00316.33
7.4.90.0100.00716.48
7.4.80.0040.01319.39
7.4.70.0100.01316.31
7.4.60.0070.01316.27
7.4.50.0110.00216.38
7.4.40.0110.00416.40
7.4.00.0100.00714.77
7.3.330.0000.00513.17
7.3.320.0030.00313.04
7.3.310.0040.00415.98
7.3.300.0040.00416.09
7.3.290.0030.00316.18
7.3.280.0040.01116.15
7.3.260.0110.00916.17
7.3.240.0080.01016.26
7.3.230.0150.00316.21
7.3.210.0110.00716.22
7.3.200.0060.01016.12
7.3.190.0100.00616.43
7.3.180.0070.00916.29
7.3.170.0100.00716.19
7.3.160.0060.01016.11
7.3.00.0630.01014.66
7.2.330.0040.01316.39
7.2.320.0100.00616.21
7.2.310.0140.00316.54
7.2.300.0100.00616.44
7.2.290.0060.01016.59
7.2.130.0660.00314.88
7.2.120.0590.00914.96
7.2.110.0730.00014.84
7.2.100.0480.00614.93
7.2.90.0510.00614.89
7.2.80.0570.00314.86
7.2.70.0590.00714.97
7.2.60.0450.01114.93
7.2.50.0610.00614.85
7.2.40.0910.01314.86
7.2.30.0780.00015.01
7.2.20.0760.00714.75
7.2.10.0640.00414.71
7.2.00.0590.01015.00
7.1.250.0550.01013.59

preferences:
66.54 ms | 400 KiB | 5 Q