3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c = 'test /*sdiznkngu ehfsdfhisdu fjaoaj* jrdgjnfsdgjuhd fihj/ fgöl/*kmfdnn*/ idu//fhijksdm gkj*/ solala //gfkjlgn fdkughnsmdg fdhgsfd joar '; $c = preg_replace('!\/\*(.*?)\*\/!si','',$c); var_dump($c);

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.01418.56
8.3.50.0080.00717.30
8.3.40.0060.00818.92
8.3.30.0120.00418.80
8.3.20.0080.00018.77
8.3.10.0000.00820.52
8.3.00.0060.00317.48
8.2.180.0100.00716.63
8.2.170.0050.00822.96
8.2.160.0130.00022.21
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0030.00519.89
8.2.110.0000.01022.16
8.2.100.0090.00319.39
8.2.90.0000.00819.22
8.2.80.0040.00419.39
8.2.70.0060.00317.63
8.2.60.0000.00818.04
8.2.50.0040.00418.07
8.2.40.0000.00817.92
8.2.30.0070.00018.00
8.2.20.0080.00017.72
8.2.10.0000.00917.70
8.2.00.0000.00717.88
8.1.280.0120.00925.92
8.1.270.0110.00324.66
8.1.260.0000.00726.35
8.1.250.0050.00228.09
8.1.240.0090.00023.82
8.1.230.0070.00719.02
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0060.00317.23
8.1.190.0000.00917.41
8.1.180.0040.00420.20
8.1.170.0000.00818.73
8.1.160.0000.00922.06
8.1.150.0040.00418.71
8.1.140.0000.00717.52
8.1.130.0070.00017.90
8.1.120.0080.00017.58
8.1.110.0040.00417.45
8.1.100.0000.00717.49
8.1.90.0050.00217.52
8.1.80.0070.00017.43
8.1.70.0030.00317.50
8.1.60.0040.00417.55
8.1.50.0060.00317.45
8.1.40.0040.00417.54
8.1.30.0060.00317.66
8.1.20.0000.00817.58
8.1.10.0000.00817.58
8.1.00.0070.00017.54
8.0.300.0040.00418.77
8.0.290.0080.00016.93
8.0.280.0000.00718.30
8.0.270.0000.00717.16
8.0.260.0040.00416.91
8.0.250.0080.00017.04
8.0.240.0030.00616.94
8.0.230.0000.00817.00
8.0.220.0000.00717.01
8.0.210.0000.00716.85
8.0.200.0030.00317.05
8.0.190.0000.00716.93
8.0.180.0030.00316.89
8.0.170.0030.00616.91
8.0.160.0050.00316.90
8.0.150.0050.00316.89
8.0.140.0040.00416.93
8.0.130.0050.00013.39
8.0.120.0000.00716.94
8.0.110.0000.00816.91
8.0.100.0000.00816.81
8.0.90.0000.00816.93
8.0.80.0060.00916.84
8.0.70.0040.00416.84
8.0.60.0040.00417.02
8.0.50.0040.00416.91
8.0.30.0110.00817.01
8.0.20.0100.00917.11
8.0.10.0000.00717.03
8.0.00.0090.01116.90
7.4.330.0000.00514.99
7.4.320.0030.00316.70
7.4.300.0050.00216.76
7.4.290.0040.00416.64
7.4.280.0030.00816.66
7.4.270.0000.00716.59
7.4.260.0030.00313.41
7.4.250.0040.00416.73
7.4.240.0070.00016.58
7.4.230.0040.00416.77
7.4.220.0030.01316.59
7.4.210.0070.00716.77
7.4.200.0050.00216.57
7.4.190.0000.00716.50
7.4.160.0060.01016.74
7.4.150.0090.00917.07
7.4.140.0130.00917.27
7.4.130.0140.00316.59
7.4.120.0070.01016.63
7.4.110.0060.01016.62
7.4.100.0090.01016.40
7.4.90.0090.01216.60
7.4.80.0130.00418.80
7.4.70.0070.01016.37
7.4.60.0100.00716.45
7.4.50.0000.00523.42
7.4.40.0050.00921.69
7.4.30.0060.01216.59
7.4.10.0060.01216.71
7.4.00.0090.00715.65
7.3.330.0030.00313.20
7.3.320.0030.00313.24
7.3.310.0070.00016.34
7.3.300.0030.00316.23
7.3.290.0000.01316.33
7.3.280.0060.00916.30
7.3.270.0100.00717.07
7.3.260.0080.00818.24
7.3.250.0130.00616.39
7.3.240.0030.01416.39
7.3.230.0030.01416.27
7.3.210.0070.01316.32
7.3.200.0090.00619.39
7.3.190.0160.00616.72
7.3.180.0080.00816.56
7.3.170.0090.00616.48
7.3.160.0030.01316.27
7.3.130.0120.00616.07
7.3.120.0050.01115.58
7.3.110.0040.01116.16
7.3.100.0030.00716.00
7.3.90.0110.00416.26
7.3.80.0090.00316.47
7.3.70.0030.00616.31
7.3.60.0030.01016.35
7.3.50.0110.00716.24
7.3.40.0110.00416.11
7.3.30.0070.00716.19
7.3.20.0040.00717.98
7.3.10.0030.01318.01
7.3.00.0070.00718.21
7.2.330.0120.01216.70
7.2.320.0130.00716.54
7.2.310.0030.01516.78
7.2.300.0140.00316.81
7.2.290.0030.01216.61
7.2.260.0040.01516.43
7.2.250.0030.01716.58
7.2.240.0040.01516.71
7.2.230.0040.00816.59
7.2.220.0070.00716.65
7.2.210.0100.00616.52
7.2.200.0030.01016.50
7.2.190.0110.00716.57
7.2.180.0100.01016.40
7.2.170.0100.01016.47
7.2.160.0060.01216.42
7.2.150.0090.01218.21
7.2.140.0070.01018.38
7.2.130.0070.00718.55
7.2.120.0030.01318.45
7.2.110.0030.01318.52
7.2.100.0060.00618.35
7.2.90.0030.00618.37
7.2.80.0060.00918.48
7.2.70.0070.00318.39
7.2.60.0060.00918.22
7.2.50.0070.01018.29
7.2.40.0060.00618.50
7.2.30.0030.01518.37
7.2.20.0110.00418.39
7.2.10.0030.01618.38
7.2.00.0050.00818.97
7.1.330.0040.01217.39
7.1.320.0050.00817.35
7.1.310.0040.01117.50
7.1.300.0040.00817.34
7.1.290.0000.01317.23
7.1.280.0100.00317.56
7.1.270.0100.00317.14
7.1.260.0030.01017.48
7.1.250.0050.00517.39
7.1.240.0040.01117.27
7.1.230.0040.01217.25
7.1.220.0040.00817.29
7.1.210.0090.00617.24
7.1.200.0030.01417.45
7.1.190.0060.00317.18
7.1.180.0030.01017.48
7.1.170.0060.00817.43
7.1.160.0000.01317.46
7.1.150.0030.01017.29
7.1.140.0130.00317.50
7.1.130.0090.00617.41
7.1.120.0040.00717.33
7.1.110.0060.00917.36
7.1.100.0070.00517.88
7.1.90.0060.00917.46
7.1.80.0100.00717.41
7.1.70.0040.00517.34
7.1.60.0050.01418.34
7.1.50.0080.01217.20
7.1.40.0040.00817.41
7.1.30.0070.00717.52
7.1.20.0060.01017.36
7.1.10.0100.00317.24
7.1.00.0110.03719.87
7.0.330.0000.01016.92
7.0.320.0000.01517.14
7.0.310.0070.00316.95
7.0.300.0030.00717.12
7.0.290.0060.00317.23
7.0.280.0150.00317.15
7.0.270.0040.01216.77
7.0.260.0030.00916.93
7.0.250.0130.00317.11
7.0.240.0100.00717.11
7.0.230.0000.01617.06
7.0.220.0090.00616.97
7.0.210.0030.00717.13
7.0.200.0050.00516.99
7.0.190.0030.01217.06
7.0.180.0060.00917.09
7.0.170.0030.01017.05
7.0.160.0070.01016.94
7.0.150.0070.01017.19
7.0.140.0020.03919.61
7.0.130.0030.01317.19
7.0.120.0030.01316.96
7.0.110.0330.02218.47
7.0.100.0180.02418.42
7.0.90.0080.02718.51
7.0.80.0060.02818.44
7.0.70.0020.03118.52
7.0.60.0100.02018.57
7.0.50.0050.02718.42
7.0.40.0070.02717.41
7.0.30.0110.02317.38
7.0.20.0100.02217.37
7.0.10.0070.02417.29
7.0.00.0050.02717.31
5.6.400.0100.00415.67
5.6.390.0110.00415.65
5.6.380.0040.00715.90
5.6.370.0030.01015.78
5.6.360.0130.00315.66
5.6.350.0070.00715.82
5.6.340.0060.01015.65
5.6.330.0070.00715.89
5.6.320.0030.01215.59
5.6.310.0100.00815.95
5.6.300.0090.00615.88
5.6.290.0060.00615.96
5.6.280.0020.04418.46
5.6.270.0090.00615.95
5.6.260.0080.02518.25
5.6.250.0070.02218.26
5.6.240.0090.02518.37
5.6.230.0030.03018.10
5.6.220.0080.02518.23
5.6.210.0100.02418.21
5.6.200.0070.02718.18
5.6.190.0070.02618.17
5.6.180.0120.02018.19
5.6.170.0070.02318.11
5.6.160.0040.02618.10
5.6.150.0080.02618.12
5.6.140.0010.02618.16
5.6.130.0050.02018.15
5.6.120.0100.02018.18
5.6.110.0020.02918.18
5.6.100.0050.02218.09
5.6.90.0050.02318.15
5.6.80.0070.01817.86
5.6.70.0030.02217.89
5.6.60.0090.02017.80
5.6.50.0080.02517.86
5.6.40.0110.03817.76
5.6.30.0050.04217.82
5.6.20.0080.04717.88
5.6.10.0060.03817.78
5.6.00.0040.02617.92
5.5.380.0050.02616.54
5.5.370.0100.02216.57
5.5.360.0080.02316.48
5.5.350.0100.02316.54
5.5.340.0110.02316.83
5.5.330.0100.02316.64
5.5.320.0050.02716.76
5.5.310.0070.02616.80
5.5.300.0050.02116.79
5.5.290.0040.02216.80
5.5.280.0040.02216.79
5.5.270.0070.02216.87
5.5.260.0060.02016.85
5.5.250.0060.01916.74
5.5.240.0030.02116.48
5.5.230.0000.03916.63
5.5.220.0050.03516.51
5.5.210.0050.03816.40
5.5.200.0050.04416.49
5.5.190.0020.03016.62
5.5.180.0030.02316.57
5.5.170.0140.00015.65
5.5.160.0030.03516.52
5.5.150.0080.03016.38
5.5.140.0050.04216.48
5.5.130.0050.03116.39
5.5.120.0080.01816.48
5.5.110.0030.03516.51
5.5.100.0100.03016.49
5.5.90.0070.02216.55
5.5.80.0030.02116.53
5.5.70.0050.03016.55
5.5.60.0060.02016.26
5.5.50.0020.02616.47
5.5.40.0080.01816.51
5.5.30.0060.04316.35
5.5.20.0060.02316.34
5.5.10.0060.02116.34
5.5.00.0060.02816.39
5.4.450.0020.02216.01
5.4.440.0030.02415.87
5.4.430.0030.02416.04
5.4.420.0060.01815.85
5.4.410.0050.02315.88
5.4.400.0090.02615.80
5.4.390.0070.02315.72
5.4.380.0050.03415.81
5.4.370.0050.03515.76
5.4.360.0030.04315.70
5.4.350.0070.01915.65
5.4.340.0050.04315.84
5.4.330.0000.01212.58
5.4.320.0060.02815.80
5.4.310.0080.02615.66
5.4.300.0020.03915.71
5.4.290.0030.04015.76
5.4.280.0060.02015.65
5.4.270.0030.03815.70
5.4.260.0020.02515.70
5.4.250.0070.05015.55
5.4.240.0020.02215.67
5.4.230.0050.03315.75
5.4.220.0070.03215.52
5.4.210.0040.02415.63
5.4.200.0050.02615.75
5.4.190.0070.02215.81
5.4.180.0000.02915.57
5.4.170.0060.02315.65
5.4.160.0030.03315.69
5.4.150.0070.02715.77
5.4.140.0080.03314.38
5.4.130.0090.03014.27
5.4.120.0020.02214.51
5.4.110.0030.02314.40
5.4.100.0030.02014.34
5.4.90.0040.02114.26
5.4.80.0050.02114.55
5.4.70.0080.02314.21
5.4.60.0040.02214.37
5.4.50.0090.01714.52
5.4.40.0000.02714.44
5.4.30.0020.02214.52
5.4.20.0000.02414.35
5.4.10.0050.01714.50
5.4.00.0050.02814.04
5.3.290.0050.03713.78
5.3.280.0080.01713.69
5.3.270.0020.02413.83
5.3.260.0030.03413.58
5.3.250.0050.02213.64
5.3.240.0100.03313.63
5.3.230.0040.02413.78
5.3.220.0030.02313.67
5.3.210.0050.02113.67
5.3.200.0000.02313.65
5.3.190.0040.02113.71
5.3.180.0030.01813.68
5.3.170.0040.02213.69
5.3.160.0050.02213.76
5.3.150.0050.02413.79
5.3.140.0030.02013.73
5.3.130.0050.03513.66
5.3.120.0010.02613.69
5.3.110.0010.02013.79
5.3.100.0030.02113.38
5.3.90.0040.01613.51
5.3.80.0030.01913.47
5.3.70.0050.03413.32
5.3.60.0050.01813.46
5.3.50.0000.02413.38
5.3.40.0050.03313.29
5.3.30.0030.01613.43
5.3.20.0020.02313.28
5.3.10.0020.02013.11
5.3.00.0050.02013.08
5.2.170.0030.02712.09
5.2.160.0000.03312.09
5.2.150.0030.03312.09
5.2.140.0100.01712.09
5.2.130.0030.06712.09
5.2.120.0000.02712.09
5.2.110.0070.05712.09
5.2.100.0030.03012.09
5.2.90.0030.03712.09
5.2.80.0070.05712.09
5.2.70.0030.03012.09
5.2.60.0000.03012.09
5.2.50.0070.02712.09
5.2.40.0000.04312.09
5.2.30.0030.04012.09
5.2.20.0030.05712.09
5.2.10.0070.02712.09
5.2.00.0030.02712.09
5.1.60.0100.03012.09
5.1.50.0030.04012.09
5.1.40.0030.02312.09
5.1.30.0000.03012.09
5.1.20.0030.03012.09
5.1.10.0000.03012.09
5.1.00.0070.02312.09
5.0.50.0000.02012.09
5.0.40.0100.03712.09
5.0.30.0030.03012.09
5.0.20.0070.01312.09
5.0.10.0000.02312.09
5.0.00.0030.03712.09
4.4.90.0000.01712.09
4.4.80.0030.01312.09
4.4.70.0030.01312.09
4.4.60.0000.02312.09
4.4.50.0070.01712.09
4.4.40.0030.04712.09
4.4.30.0030.02312.09
4.4.20.0030.02012.09
4.4.10.0030.01312.09
4.4.00.0070.02712.09
4.3.110.0000.01712.09
4.3.100.0030.01712.09
4.3.90.0000.02312.09
4.3.80.0000.02312.09
4.3.70.0000.01312.09
4.3.60.0000.01712.09
4.3.50.0000.01712.09
4.3.40.0000.03312.09
4.3.30.0000.01712.09
4.3.20.0000.01312.09
4.3.10.0000.03312.09
4.3.00.0000.02012.09

preferences:
49.8 ms | 401 KiB | 5 Q