3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = " blah bleh buum "; $testAgainst = 'buuum'; //and I want to see: //here comes the expected output

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.0070.00716.50
8.3.50.0100.00716.24
8.3.40.0100.00718.60
8.3.30.0130.00318.45
8.3.20.0070.00022.09
8.3.10.0070.00022.08
8.3.00.0070.00023.57
8.2.180.0070.01018.06
8.2.170.0090.00622.96
8.2.160.0140.00020.56
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00419.54
8.2.110.0070.00420.49
8.2.100.0060.00617.84
8.2.90.0040.00419.09
8.2.80.0070.00317.97
8.2.70.0040.00417.38
8.2.60.0040.00417.37
8.2.50.0030.00617.63
8.2.40.0050.00322.37
8.2.30.0070.00019.08
8.2.20.0000.01117.85
8.2.10.0000.00817.86
8.2.00.0000.00718.02
8.1.280.0070.00725.92
8.1.270.0060.00323.91
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0050.00323.97
8.1.230.0000.01117.83
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0070.00317.23
8.1.190.0080.00017.22
8.1.180.0030.00518.10
8.1.170.0030.00618.62
8.1.160.0040.00418.86
8.1.150.0060.00320.11
8.1.140.0000.01017.28
8.1.130.0000.00719.00
8.1.120.0070.00017.39
8.1.110.0000.00817.29
8.1.100.0030.00517.28
8.1.90.0000.00717.25
8.1.80.0070.00017.34
8.1.70.0030.00317.37
8.1.60.0000.01117.55
8.1.50.0040.00417.31
8.1.40.0000.00817.47
8.1.30.0040.00417.62
8.1.20.0040.00717.54
8.1.10.0040.00417.41
8.1.00.0060.00317.30
8.0.300.0030.00318.77
8.0.290.0000.00716.63
8.0.280.0050.00318.24
8.0.270.0070.00017.23
8.0.260.0000.00718.33
8.0.250.0030.00316.92
8.0.240.0000.00716.76
8.0.230.0030.00316.95
8.0.220.0000.00716.76
8.0.210.0080.00016.82
8.0.200.0060.00016.92
8.0.190.0060.00316.77
8.0.180.0050.00316.84
8.0.170.0040.00416.79
8.0.160.0000.00716.71
8.0.150.0050.00316.67
8.0.140.0000.00816.83
8.0.130.0000.00513.25
8.0.120.0070.00016.83
8.0.110.0070.00016.77
8.0.100.0080.00016.78
8.0.90.0040.00316.85
8.0.80.0040.01116.78
8.0.70.0000.00716.64
8.0.60.0000.00716.65
8.0.50.0040.00416.68
8.0.30.0110.00616.99
8.0.20.0080.01217.40
8.0.10.0040.00416.79
8.0.00.0100.00716.53
7.4.330.0040.00015.55
7.4.320.0070.00016.42
7.4.300.0030.00316.50
7.4.290.0000.01016.52
7.4.280.0000.00816.32
7.4.270.0000.00716.41
7.4.260.0100.00016.40
7.4.250.0050.00316.46
7.4.240.0000.00716.45
7.4.230.0030.00316.56
7.4.220.0090.00916.60
7.4.210.0060.01216.53
7.4.200.0070.00016.59
7.4.160.0150.00316.37
7.4.150.0170.00017.40
7.4.140.0120.00617.86
7.4.130.0120.00616.41
7.4.120.0100.00916.35
7.4.110.0090.00916.25
7.4.100.0070.01016.23
7.4.90.0180.00316.22
7.4.80.0160.00319.39
7.4.70.0110.00716.39
7.4.60.0040.01216.39
7.4.50.0100.00616.39
7.4.40.0110.00616.59
7.4.30.0060.00916.31
7.4.00.0110.00414.69
7.3.330.0000.00513.03
7.3.320.0030.00313.07
7.3.310.0000.00715.98
7.3.300.0000.00716.15
7.3.290.0040.01016.11
7.3.280.0070.00916.14
7.3.270.0100.00717.40
7.3.260.0120.00816.27
7.3.250.0060.01016.06
7.3.240.0090.01316.31
7.3.230.0090.00616.16
7.3.210.0060.01116.38
7.3.200.0130.00416.10
7.3.190.0060.01516.10
7.3.180.0150.00616.33
7.3.170.0130.00316.29
7.3.160.0040.01116.30
7.2.330.0030.01416.33
7.2.320.0100.01016.21
7.2.310.0120.00616.38
7.2.300.0070.01016.39
7.2.290.0140.00316.50
7.2.60.0110.00416.80
7.1.200.0030.01015.35
7.1.100.1660.00715.97
7.1.90.1920.00716.35
7.1.80.2360.01016.30
7.1.70.2280.00715.05
7.1.60.1860.01333.32
7.1.50.2440.01032.91
7.1.40.1930.01332.36
7.1.30.2140.00732.65
7.1.20.2580.01732.65
7.1.10.2610.01014.48
7.1.00.2880.01014.61
7.0.240.1560.00715.89
7.0.230.2010.01315.75
7.0.220.2280.00715.85
7.0.210.2010.01014.57
7.0.200.2140.00014.79
7.0.190.1810.01014.63
7.0.180.2060.00314.30
7.0.170.2590.01014.20
7.0.160.2640.01014.21
7.0.150.3030.01014.18
7.0.140.2990.00314.55
7.0.130.3110.00914.61
7.0.120.3050.00714.54
7.0.110.2950.00714.23
7.0.100.2880.00714.37
7.0.90.3110.01014.27
7.0.80.3340.00314.27
7.0.70.3930.00714.47
7.0.60.3240.01014.00
7.0.50.3410.00314.30
7.0.40.4230.00314.36
7.0.30.3400.00014.56
7.0.20.3320.01014.34
7.0.10.3240.00714.53
7.0.00.2370.00614.39

preferences:
31.82 ms | 400 KiB | 5 Q