3v4l.org

run code in 300+ PHP versions simultaneously
<?php $www = 'SomeCode'; $x = preg_replace('/ad/e' , '@'.str_rot13('riny').'('.$www.')', 'add'); echo $x; // echo preg_replace('/ad/e','@'.str_rot13('riny').'('$www')', 'add');

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.4.20.0050.00517.47
8.4.10.0030.00617.37
8.3.150.0080.00019.23
8.3.140.0030.00520.82
8.3.130.0000.00816.51
8.3.120.0030.00618.93
8.3.110.0110.00020.94
8.3.100.0060.00316.75
8.3.90.0020.00518.59
8.3.80.0060.00318.30
8.3.70.0120.00916.73
8.3.60.0120.00916.75
8.3.50.0070.01122.04
8.3.40.0000.01518.72
8.3.30.0030.01019.00
8.3.20.0000.00820.04
8.3.10.0030.00521.79
8.3.00.0040.00422.34
8.2.270.0150.00016.74
8.2.260.0040.01116.34
8.2.250.0040.00416.58
8.2.240.0100.00717.28
8.2.230.0080.00822.58
8.2.220.0110.00337.54
8.2.210.0040.00426.77
8.2.200.0030.00618.29
8.2.190.0070.00716.58
8.2.180.0090.00616.75
8.2.170.0040.01122.96
8.2.160.0070.00722.08
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0050.00517.38
8.2.110.0090.00020.94
8.2.100.0060.00618.03
8.2.90.0060.00319.26
8.2.80.0080.00017.97
8.2.70.0090.00017.61
8.2.60.0050.00217.93
8.2.50.0040.00418.07
8.2.40.0000.00919.82
8.2.30.0000.00717.99
8.2.20.0070.00017.55
8.2.10.0000.00718.18
8.2.00.0030.00718.16
8.1.310.0000.00818.59
8.1.300.0060.00317.68
8.1.290.0060.00318.88
8.1.280.0110.00425.92
8.1.270.0060.01120.40
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0040.00419.21
8.1.230.0080.00417.70
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0040.00717.23
8.1.190.0000.00817.36
8.1.180.0040.00418.10
8.1.170.0030.00518.59
8.1.160.0020.00522.05
8.1.150.0000.00718.82
8.1.140.0050.00217.45
8.1.130.0070.00017.63
8.1.120.0040.00417.48
8.1.110.0040.00417.34
8.1.100.0000.00717.47
8.1.90.0040.00417.43
8.1.80.0070.00017.40
8.1.70.0070.00017.38
8.1.60.0110.00317.47
8.1.50.0050.00317.48
8.1.40.0000.00817.38
8.1.30.0080.00017.52
8.1.20.0070.00017.57
8.1.10.0040.00417.49
8.1.00.0040.00417.36
8.0.300.0080.00018.77
8.0.290.0040.00416.75
8.0.280.0030.00318.45
8.0.270.0030.00317.21
8.0.260.0000.00717.16
8.0.250.0040.00416.98
8.0.240.0060.00017.02
8.0.230.0050.00217.00
8.0.220.0030.00316.84
8.0.210.0080.00016.98
8.0.200.0060.00017.07
8.0.190.0030.00617.03
8.0.180.0070.00016.93
8.0.170.0000.00716.98
8.0.160.0050.00316.69
8.0.150.0030.00516.93
8.0.140.0070.00016.79
8.0.130.0070.00013.46
8.0.120.0000.00816.82
8.0.110.0050.00316.78
8.0.100.0000.00716.96
8.0.90.0000.00816.99
8.0.80.0060.00917.00
8.0.70.0000.00816.74
8.0.60.0000.00816.95
8.0.50.0000.00716.98
8.0.30.0110.01117.11
8.0.20.0110.00817.40
8.0.10.0050.00316.96
8.0.00.0120.01016.94
7.4.330.0050.00015.04
7.4.320.0000.00616.36
7.4.300.0030.00316.49
7.4.290.0040.00416.60
7.4.280.0000.00716.43
7.4.270.0000.00716.52
7.4.260.0070.00016.49
7.4.250.0040.00316.45
7.4.240.0020.00516.58
7.4.230.0000.00716.60
7.4.220.0070.01116.55
7.4.210.0120.00616.51
7.4.200.0070.00016.28
7.4.160.0100.01016.46
7.4.150.0070.01117.40
7.4.140.0110.01017.86
7.4.130.0150.00316.60
7.4.120.0060.01616.59
7.4.110.0090.00916.59
7.4.100.0100.01916.37
7.4.90.0090.00916.55
7.4.80.0110.00819.39
7.4.70.0130.00316.54
7.4.60.0110.00716.32
7.4.50.0040.00416.46
7.4.40.0130.00416.65
7.4.30.0140.00316.63
7.4.10.0070.01014.98
7.4.00.0050.01214.95
7.3.330.0000.00713.07
7.3.320.0000.00513.19
7.3.310.0000.00716.38
7.3.300.0000.00716.30
7.3.290.0030.00316.32
7.3.280.0080.00816.33
7.3.270.0140.00317.40
7.3.260.0120.00616.27
7.3.250.0070.01116.56
7.3.240.0100.00716.39
7.3.230.0060.00916.52
7.3.210.0130.01016.42
7.3.200.0180.00019.39
7.3.190.0090.01416.51
7.3.180.0140.00416.59
7.3.170.0060.01116.40
7.3.160.0100.00716.41
7.3.130.0110.00714.96
7.3.120.0070.01114.86
7.3.110.0000.01614.80
7.3.100.0060.01015.07
7.3.90.0070.01115.07
7.3.80.0120.00614.83
7.3.70.0000.01014.84
7.3.60.0060.01014.93
7.3.50.0000.01314.93
7.3.40.0060.00614.87
7.3.30.0030.00914.72
7.3.20.0040.01216.79
7.3.10.0040.00916.69
7.3.00.0060.00616.65
7.2.330.0030.01316.62
7.2.320.0100.00916.78
7.2.310.0200.00716.50
7.2.300.0090.00716.76
7.2.290.0190.00316.85
7.2.260.0030.01615.28
7.2.250.0150.00315.10
7.2.240.0030.01315.05
7.2.230.0090.00915.16
7.2.220.0130.00715.09
7.2.210.0040.00715.34
7.2.200.0030.01315.09
7.2.190.0070.00715.26
7.2.180.0060.01215.28
7.2.170.0000.01415.22
7.2.160.0080.00615.00
7.2.150.0110.00717.31
7.2.140.0070.01016.84
7.2.130.0060.00817.05
7.2.120.0070.00617.10
7.2.110.0030.00917.22
7.2.100.0090.00516.97
7.2.90.0030.00917.25
7.2.80.0100.00816.98
7.2.70.0050.00817.10
7.2.60.0080.00517.18
7.2.50.0030.01017.01
7.2.40.0030.00717.12
7.2.30.0080.00517.09
7.2.20.0050.01117.07
7.2.10.0080.00817.13
7.2.00.0070.00818.00
7.1.330.0060.00616.02
7.1.320.0030.01415.61
7.1.310.0070.00716.16
7.1.300.0000.01216.09
7.1.290.0060.01215.72
7.1.280.0110.00416.07
7.1.270.0030.01015.80
7.1.260.0000.01815.73
7.1.250.0040.00815.72
7.1.240.0060.00315.81
7.1.230.0000.01215.94
7.1.220.0100.00615.96
7.1.210.0060.00315.92
7.1.200.0050.00715.61
7.1.190.0030.00516.17
7.1.180.0090.00616.13
7.1.170.0040.01116.14
7.1.160.0050.00516.13
7.1.150.0090.00615.86
7.1.140.0040.00716.11
7.1.130.0060.00716.06
7.1.120.0040.00416.04
7.1.110.0060.00315.73
7.1.100.0030.01017.05
7.1.90.0100.00316.23
7.1.80.0060.00615.88
7.1.70.0070.00616.74
7.1.60.0070.01017.91
7.1.50.0080.01216.49
7.1.40.0090.00616.03
7.1.30.0100.00315.94
7.1.20.0070.00715.84
7.1.10.0080.00415.98
7.1.00.0090.03919.24
7.0.330.0080.00815.61
7.0.320.0070.00715.63
7.0.310.0030.01115.23
7.0.300.0030.00715.54
7.0.290.0060.00615.43
7.0.280.0100.00715.52
7.0.270.0120.00015.51
7.0.260.0060.00615.62
7.0.250.0000.01315.35
7.0.240.0030.01015.71
7.0.230.0040.00715.40
7.0.220.0050.00515.74
7.0.210.0060.00615.78
7.0.200.0030.01016.33
7.0.190.0060.00915.63
7.0.180.0000.01515.52
7.0.170.0090.00315.75
7.0.160.0070.00415.64
7.0.150.0000.01015.45
7.0.140.0090.00615.79
7.0.130.0000.00915.74
7.0.120.0130.00015.75
7.0.110.0050.04717.84
7.0.100.0100.04317.80
7.0.90.0100.04017.76
7.0.80.0080.04517.74
7.0.70.0140.03817.59
7.0.60.0100.04017.90
7.0.50.0080.05117.79
7.0.40.0080.03816.50
7.0.30.0020.05116.82
7.0.20.0050.04416.68
7.0.10.0080.03716.75
7.0.00.0040.04116.58
5.6.400.0060.01314.67
5.6.390.0030.01314.53
5.6.380.0100.00714.10
5.6.370.0060.00814.28
5.6.360.0090.00014.56
5.6.350.0040.00814.37
5.6.340.0100.00714.54
5.6.330.0000.01414.53
5.6.320.0130.00014.75
5.6.310.0070.00314.40
5.6.300.0090.00614.54
5.6.290.0060.00614.40
5.6.280.0070.03017.79
5.6.270.0100.00614.44
5.6.260.0060.04617.51
5.6.250.0070.03217.38
5.6.240.0110.03917.55
5.6.230.0140.03617.48
5.6.220.0110.03617.51
5.6.210.0070.04617.61
5.6.200.0130.04117.47
5.6.190.0160.03617.39
5.6.180.0190.03117.58
5.6.170.0080.03217.47
5.6.160.0070.03917.52
5.6.150.0070.04717.48
5.6.140.0080.02717.58
5.6.130.0070.04217.52
5.6.120.0100.04217.42
5.6.110.0080.03717.51
5.6.100.0090.04017.39
5.6.90.0060.04117.33
5.6.80.0100.03817.23
5.6.70.0060.04316.99
5.6.60.0060.04517.17
5.6.50.0040.02617.01
5.6.40.0050.03917.09
5.6.30.0090.02217.32
5.6.20.0070.04317.27
5.6.10.0080.04217.26
5.6.00.0080.04617.18
5.5.380.0070.04416.02
5.5.370.0090.03715.86
5.5.360.0030.03715.96
5.5.350.0100.03815.87
5.5.340.0100.04216.20
5.5.330.0090.03916.13
5.5.320.0100.03316.10
5.5.310.0030.04916.33
5.5.300.0080.03116.13
5.5.290.0100.03816.26
5.5.280.0090.03716.30
5.5.270.0090.03916.39
5.5.260.0050.04716.25
5.5.250.0070.04516.23
5.5.240.0100.03816.03
5.5.230.0030.04915.79
5.5.220.0070.04415.90
5.5.210.0050.04415.91
5.5.200.0050.04415.99
5.5.190.0100.03615.88
5.5.180.0100.04315.98
5.5.170.0090.00314.59
5.5.160.0020.04315.71
5.5.150.0090.03916.01
5.5.140.0110.03815.82
5.5.130.0060.03915.75
5.5.120.0080.02215.73
5.5.110.0080.02415.85
5.5.100.0030.04415.68
5.5.90.0020.04515.60
5.5.80.0020.04515.82
5.5.70.0080.02115.68
5.5.60.0070.04015.65
5.5.50.0070.04015.67
5.5.40.0030.04315.67
5.5.30.0040.04415.75
5.5.20.0100.02715.89
5.5.10.0070.04415.61
5.5.00.0050.04015.64
5.4.450.0230.04719.45
5.4.440.0030.08019.51
5.4.430.0100.07719.30
5.4.420.0200.06719.44
5.4.410.0100.06719.28
5.4.400.0070.06319.08
5.4.390.0070.08019.17
5.4.380.0000.04719.00
5.4.370.0100.06319.01
5.4.360.0130.08019.03
5.4.350.0130.03719.12
5.4.340.0030.07719.08
5.4.320.0070.04319.01
5.4.310.0100.07019.12
5.4.300.0130.07018.95
5.4.290.0130.07019.16
5.4.280.0130.07319.10
5.4.270.0030.08019.25
5.4.260.0070.07319.02
5.4.250.0030.06319.27
5.4.240.0070.07019.17
5.4.230.0100.07319.16
5.4.220.0200.05319.02
5.4.210.0130.06719.24
5.4.200.0070.07319.30
5.4.190.0070.06718.97
5.4.180.0070.06318.96
5.4.170.0000.08719.02
5.4.160.0130.06719.27
5.4.150.0070.07318.93
5.4.140.0070.07716.55
5.4.130.0030.07016.26
5.4.120.0070.07316.20
5.4.110.0130.04016.29
5.4.100.0130.05016.29
5.4.90.0100.07016.41
5.4.80.0000.08016.52
5.4.70.0170.07016.46
5.4.60.0100.06716.18
5.4.50.0070.07316.46
5.4.40.0100.06316.50
5.4.30.0070.08016.52
5.4.20.0130.06716.16
5.4.10.0030.04316.50
5.4.00.0030.07015.81
5.3.290.0030.08014.69
5.3.280.0230.05714.45
5.3.270.0170.06714.54
5.3.260.0070.07714.48
5.3.250.0030.04714.48
5.3.240.0070.07714.49
5.3.230.0030.06714.53
5.3.220.0070.04714.58
5.3.210.0000.08014.45
5.3.200.0030.07714.59
5.3.190.0100.05714.45
5.3.180.0100.07714.58
5.3.170.0170.06314.42
5.3.160.0170.07014.52
5.3.150.0030.08314.67
5.3.140.0070.08314.58
5.3.130.0070.07714.57
5.3.120.0130.07314.46
5.3.110.0100.04014.43
5.3.100.0030.04313.93
5.3.90.0070.06713.93
5.3.80.0070.05713.95
5.3.70.0070.04313.99
5.3.60.0070.04013.91
5.3.50.0130.07013.88
5.3.40.0070.06313.84
5.3.30.0100.05013.79
5.3.20.0070.07313.75
5.3.10.0070.06713.52
5.3.00.0030.04313.52
5.2.170.0070.05711.85
5.2.160.0070.06711.85
5.2.150.0070.03011.85
5.2.140.0100.06011.85
5.2.130.0030.06311.85
5.2.120.0070.04711.85
5.2.110.0070.05011.85
5.2.100.0000.03011.85
5.2.90.0000.03011.85
5.2.80.0000.02711.85
5.2.70.0030.02311.85
5.2.60.0030.05711.85
5.2.50.0030.06711.85
5.2.40.0130.05711.85
5.2.30.0070.05011.85
5.2.20.0070.05011.85
5.2.10.0000.05711.85
5.2.00.0070.05711.85
5.1.60.0030.05311.85
5.1.50.0030.04311.85
5.1.40.0070.05311.85
5.1.30.0070.05711.85
5.1.20.0070.05711.85
5.1.10.0030.05311.85
5.1.00.0100.05011.85
5.0.50.0000.05011.85
5.0.40.0070.04011.85
5.0.30.0070.05711.85
5.0.20.0070.04011.85
5.0.10.0030.04011.85
5.0.00.0030.06311.85
4.4.90.0000.02711.85
4.4.80.0030.03311.85
4.4.70.0000.04011.85
4.4.60.0030.01711.85
4.4.50.0030.01711.85
4.4.40.0000.05711.85
4.4.30.0000.03711.85
4.4.20.0030.03711.85
4.4.10.0070.02011.85
4.4.00.0000.05011.85
4.3.110.0100.02711.85
4.3.100.0000.02711.85
4.3.90.0030.03311.85
4.3.80.0000.05711.85
4.3.70.0000.03711.85
4.3.60.0030.02711.85
4.3.50.0070.01311.85
4.3.40.0000.05311.85
4.3.30.0000.03011.85
4.3.20.0070.03311.85
4.3.10.0000.03711.85
4.3.00.0000.02311.85

preferences:
88.3 ms | 403 KiB | 5 Q