3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "Hi, how's it going?"; $input = "I'm not saying anything about anything"; $function = 'strpos(strtolower($input), \'testing\');'; echo $function; echo eval($function);

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.00716.38
8.3.50.0150.00521.20
8.3.40.0100.00718.75
8.3.30.0220.00019.09
8.3.20.0040.00420.29
8.3.10.0070.00021.90
8.3.00.0050.00320.94
8.2.180.0120.00916.50
8.2.170.0070.00722.96
8.2.160.0120.00322.07
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0030.00519.65
8.2.110.0100.00022.10
8.2.100.0040.00817.75
8.2.90.0000.00819.13
8.2.80.0030.00517.97
8.2.70.0000.00817.49
8.2.60.0090.00317.80
8.2.50.0110.00018.07
8.2.40.0000.01019.94
8.2.30.0000.00717.98
8.2.20.0040.00417.56
8.2.10.0040.00418.10
8.2.00.0040.00417.62
8.1.280.0120.00325.92
8.1.270.0040.00420.65
8.1.260.0050.00226.35
8.1.250.0000.00928.09
8.1.240.0040.00423.73
8.1.230.0070.00417.83
8.1.220.0060.00317.79
8.1.210.0000.00818.77
8.1.200.0030.00717.22
8.1.190.0050.00317.21
8.1.180.0080.00018.10
8.1.170.0030.00618.46
8.1.160.0000.00821.96
8.1.150.0000.00718.95
8.1.140.0000.00817.32
8.1.130.0000.00717.69
8.1.120.0040.00417.39
8.1.110.0040.00417.49
8.1.100.0070.00017.32
8.1.90.0040.00417.43
8.1.80.0030.00517.43
8.1.70.0040.00417.49
8.1.60.0040.00417.45
8.1.50.0000.00817.40
8.1.40.0080.00017.47
8.1.30.0030.00517.65
8.1.20.0040.00417.52
8.1.10.0070.00017.52
8.1.00.0000.00717.46
8.0.300.0060.00318.77
8.0.290.0000.00716.63
8.0.280.0070.00018.36
8.0.270.0040.00417.25
8.0.260.0000.00617.16
8.0.250.0030.00316.85
8.0.240.0040.00416.92
8.0.230.0030.00516.86
8.0.220.0000.00716.86
8.0.210.0000.00716.82
8.0.200.0030.00316.93
8.0.190.0040.00416.96
8.0.180.0030.00316.96
8.0.170.0060.00316.87
8.0.160.0030.00316.76
8.0.150.0000.00816.84
8.0.140.0040.00416.75
8.0.130.0000.00513.30
8.0.120.0000.00816.90
8.0.110.0000.00816.93
8.0.100.0030.00316.87
8.0.90.0000.00816.77
8.0.80.0170.00316.93
8.0.70.0040.00416.86
8.0.60.0080.00016.82
8.0.50.0000.00716.71
8.0.30.0110.01317.30
8.0.20.0120.01117.40
8.0.10.0070.00017.09
8.0.00.0120.00716.56
7.4.330.0000.00515.15
7.4.320.0060.00016.45
7.4.300.0030.00316.58
7.4.290.0070.00016.57
7.4.280.0000.00916.65
7.4.270.0000.00716.59
7.4.260.0020.00516.47
7.4.250.0000.00816.61
7.4.240.0030.00516.56
7.4.230.0040.00416.57
7.4.220.0090.00916.50
7.4.210.0090.00916.48
7.4.200.0040.00416.54
7.4.160.0100.00616.52
7.4.150.0030.01917.40
7.4.140.0140.00617.86
7.4.130.0100.00716.49
7.4.120.0090.00716.47
7.4.110.0070.01016.43
7.4.100.0080.00816.49
7.4.90.0130.00316.57
7.4.80.0070.01016.54
7.4.70.0140.01116.44
7.4.60.0060.00916.53
7.4.50.0040.00416.46
7.4.40.0090.00916.60
7.4.30.0120.01116.37
7.4.10.0100.01015.02
7.4.00.0030.01114.84
7.3.330.0000.00512.95
7.3.320.0100.00312.95
7.3.310.0030.00316.03
7.3.300.0030.00316.18
7.3.290.0070.00016.07
7.3.280.0060.01116.22
7.3.270.0120.01017.40
7.3.260.0100.00716.34
7.3.250.0120.00516.27
7.3.240.0030.01316.11
7.3.230.0100.00716.48
7.3.210.0120.00616.34
7.3.200.0120.01119.39
7.3.190.0060.01516.49
7.3.180.0030.01316.14
7.3.170.0090.01416.29
7.3.160.0120.00316.50
7.3.130.0100.00714.53
7.3.120.0100.00714.73
7.3.110.0070.01014.66
7.3.100.0070.00714.89
7.3.90.0120.00314.95
7.3.80.0040.00414.77
7.3.70.0030.01214.91
7.3.60.0070.00714.59
7.3.50.0030.01414.92
7.3.40.0070.00714.89
7.3.30.0130.00314.92
7.3.20.0090.00316.56
7.3.10.0000.01416.38
7.3.00.0030.01316.62
7.2.330.0120.00616.66
7.2.320.0030.01316.28
7.2.310.0090.01516.30
7.2.300.0100.00716.51
7.2.290.0130.00916.60
7.2.260.0040.01214.95
7.2.250.0040.01214.85
7.2.240.0030.01014.94
7.2.230.0060.00914.95
7.2.220.0030.01014.93
7.2.210.0040.00714.84
7.2.200.0000.01514.99
7.2.190.0060.00614.88
7.2.180.0000.01214.86
7.2.170.0100.00314.90
7.2.160.0030.01214.89
7.2.150.0030.01016.63
7.2.140.0000.00816.72
7.2.130.0070.00716.79
7.2.120.0030.00616.94
7.2.110.0060.00316.71
7.2.100.0030.01016.91
7.2.90.0040.01216.64
7.2.80.0030.00616.88
7.2.70.0000.01216.52
7.2.60.0070.00516.75
7.2.50.0040.00716.73
7.2.40.0030.01016.71
7.2.30.0090.00916.84
7.2.20.0100.00716.41
7.2.10.0070.00716.66
7.2.00.0050.00818.05
7.1.330.0030.01215.78
7.1.320.0080.00615.61
7.1.310.0060.00615.81
7.1.300.0040.01115.92
7.1.290.0040.00415.71
7.1.280.0100.00715.77
7.1.270.0060.00915.70
7.1.260.0040.00415.75
7.1.250.0030.01015.54
7.1.240.0040.00415.46
7.1.230.0050.00315.82
7.1.220.0040.00715.53
7.1.210.0060.00315.82
7.1.200.0040.00415.56
7.1.190.0040.00715.70
7.1.180.0040.01115.86
7.1.170.0000.00815.52
7.1.160.0110.00715.81
7.1.150.0030.00615.80
7.1.140.0000.01215.52
7.1.130.0070.00715.49
7.1.120.0070.00315.85
7.1.110.0030.00615.50
7.1.100.0060.00916.66
7.1.90.0000.01415.68
7.1.80.0040.00815.75
7.1.70.0030.00816.41
7.1.60.0070.01017.64
7.1.50.0110.00716.23
7.1.40.0100.00715.64
7.1.30.0070.00715.89
7.1.20.0110.00315.68
7.1.10.0030.00915.82
7.1.00.0070.03819.00
7.0.330.0040.01115.36
7.0.320.0100.00315.38
7.0.310.0040.00815.07
7.0.300.0000.00715.13
7.0.290.0040.00415.00
7.0.280.0030.00515.32
7.0.270.0060.00915.39
7.0.260.0060.00615.43
7.0.250.0070.00715.41
7.0.240.0130.00315.45
7.0.230.0070.00415.13
7.0.220.0120.00015.47
7.0.210.0050.00315.43
7.0.200.0050.00716.10
7.0.190.0070.01015.22
7.0.180.0100.00315.52
7.0.170.0040.01115.34
7.0.160.0070.00715.59
7.0.150.0070.00315.41
7.0.140.0030.02018.67
7.0.130.0040.01115.61
7.0.120.0000.01215.14
7.0.110.0080.00315.51
7.0.100.0000.01715.49
7.0.90.0130.00015.18
7.0.80.0060.00315.31
7.0.70.0100.00315.47
7.0.60.0100.04017.64
7.0.50.0070.03016.64
7.0.40.0050.03316.86
7.0.30.0150.02116.78
7.0.20.0150.03716.75
7.0.10.0110.04316.80
7.0.00.0100.04216.80
5.6.400.0030.00613.93
5.6.390.0000.01314.38
5.6.380.0070.00714.29
5.6.370.0000.01514.02
5.6.360.0090.00314.34
5.6.350.0040.01114.19
5.6.340.0120.00014.34
5.6.330.0070.01014.63
5.6.320.0100.00714.55
5.6.310.0000.00913.84
5.6.300.0030.01414.20
5.6.290.0140.00314.36
5.6.280.0060.03817.68
5.6.270.0000.01414.00
5.6.260.0040.00414.21
5.6.250.0030.01014.39
5.6.240.0050.00314.11
5.6.230.0100.00314.38
5.6.220.0080.00414.34
5.6.210.0020.04617.41
5.6.200.0070.02716.19
5.6.190.0100.04117.35
5.6.180.0260.02617.39
5.6.170.0130.02317.32
5.6.160.0030.02617.32
5.6.150.0120.04016.19
5.6.140.0030.04616.12
5.6.130.0070.02316.12
5.6.120.0050.02817.62
5.6.110.0070.04417.55
5.6.100.0080.03217.64
5.6.90.0120.04017.40
5.6.80.0100.03717.36
5.6.70.0070.01014.11
5.6.60.0000.01113.94
5.6.50.0070.00714.39
5.6.40.0000.00813.95
5.6.30.0000.01214.23
5.6.20.0080.00614.39
5.6.10.0080.00314.35
5.6.00.0000.01714.13
5.5.380.0070.00714.32
5.5.370.0090.00014.00
5.5.360.0040.01214.18
5.5.350.0220.03717.27
5.5.340.0090.03416.09
5.5.330.0040.02517.44
5.5.320.0070.04517.41
5.5.310.0180.03917.22
5.5.300.0050.04216.05
5.5.290.0070.04216.12
5.5.280.0050.04517.61
5.5.270.0020.04817.52
5.5.260.0030.04717.62
5.5.250.0120.04017.44
5.5.240.0070.04417.14
5.5.230.0100.00314.15
5.5.220.0090.00313.80
5.5.210.0080.00414.16
5.5.200.0110.00313.95
5.5.190.0070.00713.86
5.5.180.0070.00713.86
5.5.170.0060.00614.05
5.5.160.0000.00814.09
5.5.150.0000.00914.08
5.5.140.0040.00814.22
5.5.130.0040.01114.25
5.5.120.0100.00313.99
5.5.110.0100.00713.77
5.5.100.0080.00314.07
5.5.90.0000.01013.97
5.5.80.0030.00714.09
5.5.70.0070.00713.99
5.5.60.0060.00914.03
5.5.50.0070.00714.00
5.5.40.0030.00513.98
5.5.30.0000.00814.04
5.5.20.0040.00414.23
5.5.10.0000.01114.01
5.5.00.0030.01014.04
5.4.450.0360.03015.59
5.4.440.0370.03515.81
5.4.430.0500.02815.82
5.4.420.0380.02315.86
5.4.410.0480.03315.80
5.4.400.0570.02715.69
5.4.390.0470.03015.30
5.4.380.0380.03515.41
5.4.370.0380.03115.31
5.4.360.0520.02715.38
5.4.350.0580.02815.28
5.4.340.0500.02815.40
5.4.330.0000.00712.09
5.4.320.0330.03015.34
5.4.310.0450.03215.34
5.4.300.0470.03015.40
5.4.290.0420.03815.31
5.4.280.0360.02815.38
5.4.270.0520.03315.39
5.4.260.0480.03915.34
5.4.250.0450.03715.43
5.4.240.0490.03715.39
5.4.230.0500.04215.38
5.4.220.0620.04015.33
5.4.210.0550.03215.40
5.4.200.0400.03214.36
5.4.190.0510.02615.41
5.4.180.0460.03815.20
5.4.170.0500.03315.33
5.4.160.0500.02915.42
5.4.150.0560.02715.38
5.4.140.0570.03014.16
5.4.130.0480.03314.11
5.4.120.0420.03914.20
5.4.110.0600.02714.13
5.4.100.0480.03614.15
5.4.90.0570.03514.08
5.4.80.0500.02214.15
5.4.70.0390.03214.10
5.4.60.0540.03014.13
5.4.50.0590.02914.18
5.4.40.0420.02914.16
5.4.30.0480.03014.07
5.4.20.0480.03214.05
5.4.10.0520.02514.14
5.4.00.0450.02713.80
5.3.290.1030.05014.63
5.3.280.0900.05314.49
5.3.270.0930.05714.50
5.3.260.1030.04714.65
5.3.250.0900.05714.51
5.3.240.0930.05714.70
5.3.230.1130.05314.49
5.3.220.1000.05014.55
5.3.210.0800.07014.59
5.3.200.1130.04714.46
5.3.190.0770.05314.62
5.3.180.0830.06014.57
5.3.170.1000.04714.54
5.3.160.0970.06014.51
5.3.150.0900.06714.66
5.3.140.0800.05014.52
5.3.130.1000.06314.51
5.3.120.1170.06314.62
5.3.110.1100.05314.64
5.3.100.0970.05713.97
5.3.90.0970.05013.97
5.3.80.0730.05313.95
5.3.70.0800.04714.00
5.3.60.0700.05713.96
5.3.50.0870.05314.02
5.3.40.0830.05313.84
5.3.30.0900.04713.94
5.3.20.0900.05013.67
5.3.10.0800.06313.76
5.3.00.0770.06013.64
5.2.170.0930.04711.18
5.2.160.0600.04311.13
5.2.150.0800.03711.11
5.2.140.0770.04011.13
5.2.130.0770.05711.11
5.2.120.0830.04711.25
5.2.110.0630.05011.11
5.2.100.0630.03711.09
5.2.90.0600.04011.14
5.2.80.0730.04311.13
5.2.70.0730.04311.06
5.2.60.0470.05011.03
5.2.50.0530.05010.97
5.2.40.0670.03311.04
5.2.30.0630.04011.03
5.2.20.0600.04710.96
5.2.10.0370.04710.91
5.2.00.0630.04710.75
5.1.60.0600.04710.09
5.1.50.0500.03310.01
5.1.40.0600.0409.97
5.1.30.0630.04010.39
5.1.20.0530.04310.45
5.1.10.0470.04310.18
5.1.00.0600.04010.20
5.0.50.0270.0408.56
5.0.40.0370.0378.43
5.0.30.0400.0578.21
5.0.20.0370.0338.27
5.0.10.0270.0378.35
5.0.00.0230.0438.14
4.4.90.0370.0205.93
4.4.80.0330.0176.00
4.4.70.0270.0205.90
4.4.60.0430.0235.95
4.4.50.0330.0275.89
4.4.40.0270.0375.93
4.4.30.0300.0276.01
4.4.20.0270.0306.03
4.4.10.0370.0305.96
4.4.00.0300.0475.92
4.3.110.0230.0305.89
4.3.100.0270.0305.80
4.3.90.0300.0205.80
4.3.80.0370.0335.79
4.3.70.0400.0135.78
4.3.60.0270.0235.89
4.3.50.0330.0175.89
4.3.40.0400.0335.82
4.3.30.0130.0175.13
4.3.20.0130.0275.13
4.3.10.0200.0235.13
4.3.00.0270.02314.62

preferences:
65.51 ms | 401 KiB | 5 Q