3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$email = 'http://ヒキワリ.ナットウ.ニホン'; $email = 'JP納豆.例.jp'; $email = idn_to_ascii($email); $email = str_replace('xn--', '', $email); echo $email; echo "\n"; $email = 'johnsnow@zoosk.com'; $email = idn_to_ascii($email); $email = str_replace('xn--', '', $email); echo $email; ?>

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.0110.00417.25
8.3.50.0120.00522.31
8.3.40.0090.00919.54
8.3.30.0030.01319.84
8.3.20.0040.00421.09
8.3.10.0090.00024.36
8.3.00.0080.00020.00
8.2.180.0100.01319.04
8.2.170.0170.00322.96
8.2.160.0030.01321.27
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0000.00826.16
8.2.120.0050.00322.96
8.2.110.0080.00023.13
8.2.100.0070.00420.64
8.2.90.0100.00320.05
8.2.80.0080.00018.38
8.2.70.0100.00018.50
8.2.60.0040.00418.66
8.2.50.0070.00718.25
8.2.40.0030.00620.76
8.2.30.0060.00319.17
8.2.20.0000.00818.59
8.2.10.0000.00719.05
8.2.00.0080.00018.56
8.1.280.0150.00625.92
8.1.270.0140.00424.82
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00324.67
8.1.230.0040.00719.90
8.1.220.0040.00418.51
8.1.210.0040.00418.77
8.1.200.0090.00018.00
8.1.190.0060.00317.98
8.1.180.0060.00319.75
8.1.170.0040.00418.98
8.1.160.0040.00422.78
8.1.150.0000.00719.39
8.1.140.0040.00418.13
8.1.130.0040.00418.55
8.1.120.0050.00218.21
8.1.110.0080.00418.07
8.1.100.0040.00318.27
8.1.90.0040.00418.19
8.1.80.0070.00018.11
8.1.70.0050.00218.14
8.1.60.0100.00018.32
8.1.50.0030.00518.20
8.1.40.0080.00018.26
8.1.30.0000.01118.39
8.1.20.0000.00818.12
8.1.10.0060.00318.23
8.1.00.0050.00218.21
8.0.300.0000.00818.77
8.0.290.0040.00417.93
8.0.280.0070.00019.32
8.0.270.0000.00718.01
8.0.260.0030.00318.20
8.0.250.0040.00417.62
8.0.240.0040.00417.53
8.0.230.0040.00417.56
8.0.220.0070.00017.50
8.0.210.0030.00317.45
8.0.200.0040.00717.55
8.0.190.0000.00717.56
8.0.180.0030.00717.70
8.0.170.0080.00017.54
8.0.160.0070.00017.54
8.0.150.0040.00417.45
8.0.140.0070.00017.61
8.0.130.0040.00413.34
8.0.120.0000.00817.50
8.0.110.0040.00417.62
8.0.100.0060.00317.66
8.0.90.0000.00817.70
8.0.80.0090.01217.70
8.0.70.0080.00017.59
8.0.60.0040.00417.48
8.0.50.0000.00717.59
8.0.30.0160.00418.04
8.0.20.0120.00718.05
8.0.10.0040.00417.64
8.0.00.0020.01617.46
7.4.330.0000.00515.00
7.4.320.0000.00617.16
7.4.300.0040.00417.30
7.4.290.0040.00417.19
7.4.280.0000.00717.20
7.4.270.0000.00717.18
7.4.260.0030.00317.09
7.4.250.0030.00517.09
7.4.240.0050.00217.13
7.4.230.0000.00717.03
7.4.220.0130.00317.14
7.4.210.0060.00817.24
7.4.200.0070.00017.36
7.4.190.0040.00317.23
7.4.160.0070.00717.32
7.4.150.0030.01317.40
7.4.140.0140.01017.86
7.4.130.0090.00617.06
7.4.120.0090.00917.22
7.4.110.0130.00917.25
7.4.100.0090.00917.21
7.4.90.0170.00017.11
7.4.80.0070.01119.39
7.4.70.0070.01016.97
7.4.60.0090.00617.09
7.4.50.0060.00017.14
7.4.40.0060.01217.11
7.4.30.0130.00917.31
7.4.10.0030.01315.29
7.4.00.0080.00615.81
7.3.330.0070.00013.09
7.3.320.0040.00413.12
7.3.310.0050.00217.18
7.3.300.0040.00417.34
7.3.290.0040.01117.40
7.3.280.0080.01217.33
7.3.270.0090.00917.44
7.3.260.0120.00617.39
7.3.250.0110.01017.29
7.3.240.0070.01017.52
7.3.230.0120.00817.63
7.3.210.0000.01717.40
7.3.200.0130.00919.39
7.3.190.0120.00617.27
7.3.180.0110.00717.66
7.3.170.0100.00717.44
7.3.160.0120.00617.39
7.3.130.0060.01315.74
7.3.120.0070.00916.00
7.3.110.0070.01315.45
7.3.100.0000.01415.91
7.3.90.0130.00015.54
7.3.80.0060.00615.55
7.3.70.0120.00315.53
7.3.60.0150.00015.56
7.3.50.0070.01115.37
7.3.40.0000.01214.99
7.3.30.0030.01015.54
7.3.20.0090.00317.53
7.3.10.0100.00317.24
7.3.00.0110.00417.52
7.2.330.0120.00617.43
7.2.320.0100.01317.68
7.2.310.0080.01117.32
7.2.300.0120.00617.27
7.2.290.0120.00917.71
7.2.260.0080.01115.95
7.2.250.0070.01016.07
7.2.240.0080.00615.99
7.2.230.0030.01016.14
7.2.220.0070.01015.92
7.2.210.0100.00316.31
7.2.200.0090.00616.11
7.2.190.0040.01116.06
7.2.180.0080.01215.78
7.2.170.0030.00616.23
7.2.160.0070.01015.72
7.2.150.0060.00917.46
7.2.140.0140.00417.89
7.2.130.0110.00417.83
7.2.120.0070.01017.81
7.2.110.0000.01017.80
7.2.100.0080.00317.57
7.2.90.0030.01218.04
7.2.80.0070.00917.88
7.2.70.0090.00617.76
7.2.60.0070.01117.66
7.2.50.0130.00317.83
7.2.40.0090.00617.52
7.2.30.0030.01217.74
7.2.20.0070.00717.81
7.2.10.0060.00318.06
7.2.00.0030.01119.03
7.1.330.0000.01416.61
7.1.320.0100.00316.77
7.1.310.0040.01116.52
7.1.300.0130.00616.77
7.1.290.0040.01216.61
7.1.280.0070.00416.70
7.1.270.0070.01116.78
7.1.260.0070.01016.71
7.1.250.0060.00616.70
7.1.240.0000.01416.62
7.1.230.0070.01016.75
7.1.220.0120.00616.67
7.1.210.0000.01016.45
7.1.200.0080.00816.47
7.1.190.0070.01316.64
7.1.180.0000.01316.92
7.1.170.0110.00316.87
7.1.160.0030.00616.49
7.1.150.0000.01616.83
7.1.140.0080.00616.74
7.1.130.0040.00816.30
7.1.120.0070.01016.80
7.1.110.0000.01416.58
7.1.100.0080.00518.01
7.1.90.0000.01116.94
7.1.80.0060.00916.64
7.1.70.0050.00617.61
7.1.60.0120.01017.98
7.1.50.0110.01117.42
7.1.40.0070.00716.56
7.1.30.0040.01116.55
7.1.20.0060.00616.66
7.1.10.0060.00316.74
7.1.00.0050.04120.17
7.0.330.0060.00316.34
7.0.320.0040.00416.37
7.0.310.0050.00516.36
7.0.300.0040.01116.29
7.0.290.0070.00416.39
7.0.280.0070.00716.32
7.0.270.0030.00916.18
7.0.260.0040.00416.33
7.0.250.0030.00916.41
7.0.240.0070.00716.56
7.0.230.0000.01216.15
7.0.220.0080.00416.16
7.0.210.0000.01516.50
7.0.200.0050.00717.26
7.0.190.0060.00616.51
7.0.180.0030.00716.18
7.0.170.0100.00316.34
7.0.160.0120.00316.36
7.0.150.0100.00316.19
7.0.140.0020.04319.79
7.0.130.0060.00316.60
7.0.120.0110.00416.34
7.0.110.0070.00716.22
7.0.100.0100.00716.16
7.0.90.0130.00016.45
7.0.80.0050.00516.14
7.0.70.0050.04619.53
7.0.60.0070.04519.43
7.0.50.0030.05019.75
7.0.40.0050.04517.80
7.0.30.0030.02717.52
7.0.20.0060.04317.69
7.0.10.0070.04317.80
7.0.00.0050.05117.63
5.6.400.0030.01014.97
5.6.390.0100.00715.52
5.6.380.0040.01115.48
5.6.370.0040.01115.29
5.6.360.0060.00615.13
5.6.350.0060.00915.17
5.6.340.0090.00615.31
5.6.330.0030.00915.59
5.6.320.0030.01015.38
5.6.310.0070.01015.16
5.6.300.0040.01015.26
5.6.290.0030.00615.51
5.6.280.0050.04318.83
5.6.270.0030.01315.38
5.6.260.0030.01315.41
5.6.250.0030.00615.05
5.6.240.0040.01215.31
5.6.230.0040.01215.38
5.6.220.0130.02818.63
5.6.210.0050.02418.47
5.6.200.0070.04018.55
5.6.190.0020.04718.70
5.6.180.0000.05218.56
5.6.170.0090.03518.62
5.6.160.0040.03818.61
5.6.150.0040.02918.80
5.6.140.0010.03618.62
5.6.130.0020.04818.72
5.6.120.0040.04118.63
5.6.110.0080.04318.77
5.6.100.0030.04918.54
5.6.90.0050.02718.51
5.6.80.0060.04518.24
5.6.70.0090.04418.29
5.6.60.0110.03818.10
5.6.50.0050.04418.21
5.6.40.0000.04718.41
5.6.30.0030.03618.13
5.6.20.0080.04318.23
5.6.10.0020.04518.24
5.6.00.0150.02818.26
5.5.380.0060.00915.13
5.5.370.0040.01415.32
5.5.360.0060.03518.35
5.5.350.0070.02918.30
5.5.340.0050.04518.43
5.5.330.0070.04318.60
5.5.320.0040.04418.32
5.5.310.0020.03518.54
5.5.300.0040.04118.53
5.5.290.0020.05018.63
5.5.280.0090.04018.47
5.5.270.0070.04618.38
5.5.260.0050.03718.42
5.5.250.0020.03118.43
5.5.240.0020.03818.16
5.5.230.0050.04018.35
5.5.220.0020.04718.21
5.5.210.0050.04218.20
5.5.200.0030.02818.13
5.5.190.0050.03218.19
5.5.180.0050.04218.16
5.5.170.0070.00615.35
5.5.160.0080.03518.29
5.5.150.0020.05218.01
5.5.140.0050.04218.24
5.5.130.0090.03218.10
5.5.120.0070.03718.06
5.5.110.0050.04718.13
5.5.100.0090.02618.04
5.5.90.0110.03318.15
5.5.80.0070.04318.11
5.5.70.0050.03718.18
5.5.60.0030.04718.05
5.5.50.0050.03318.12
5.5.40.0040.03218.21
5.5.30.0020.03418.13
5.5.20.0050.04418.13
5.5.10.0070.03417.82
5.5.00.0030.04117.89
5.4.450.0050.04515.56
5.4.440.0030.04615.53
5.4.430.0030.03215.53
5.4.420.0030.04315.39
5.4.410.0000.03415.38
5.4.400.0040.04415.18
5.4.390.0030.04315.28
5.4.380.0030.04215.21
5.4.370.0050.03015.27
5.4.360.0100.03615.27
5.4.350.0030.04415.31
5.4.340.0080.03015.20
5.4.330.0000.00710.75
5.4.320.0040.04015.33
5.4.310.0020.04615.42
5.4.300.0050.02215.27
5.4.290.0050.04315.26
5.4.280.0030.04315.36
5.4.270.0020.03515.33
5.4.260.0050.04315.23
5.4.250.0050.04215.35
5.4.240.0070.03715.36
5.4.230.0090.03915.26
5.4.220.0020.02715.13
5.4.210.0060.04015.30
5.4.200.0050.03815.38
5.4.190.0030.02015.32
5.4.180.0090.03915.32
5.4.170.0050.03115.39
5.4.160.0040.03715.29
5.4.150.0110.01715.18
5.4.140.0000.02613.99
5.4.130.0060.02013.98
5.4.120.0020.02214.04
5.4.110.0000.02114.01
5.4.100.0050.03314.02
5.4.90.0020.02214.01
5.4.80.0030.01914.08
5.4.70.0030.02314.07
5.4.60.0050.01813.93
5.4.50.0030.02114.05
5.4.40.0020.02213.98
5.4.30.0040.03214.05
5.4.20.0000.02513.83
5.4.10.0030.02013.89
5.4.00.0070.01913.58
5.3.290.0060.02112.48
5.3.280.0020.04312.47
5.3.270.0050.04212.45
5.3.260.0030.03512.29
5.3.250.0020.02212.43
5.3.240.0020.02312.38
5.3.230.0050.02112.36
5.3.220.0030.02212.29
5.3.210.0020.02112.40
5.3.200.0020.02212.31
5.3.190.0020.02012.43
5.3.180.0040.01912.40
5.3.170.0070.01812.39
5.3.160.0050.02612.50
5.3.150.0000.02312.48
5.3.140.0020.02312.43
5.3.130.0020.02312.43
5.3.120.0000.02512.43
5.3.110.0040.02012.38
5.3.100.0000.02412.14
5.3.90.0050.02512.24
5.3.80.0050.02012.07
5.3.70.0040.02012.04
5.3.60.0010.02111.97
5.3.50.0060.01712.04
5.3.40.0060.01711.93
5.3.30.0020.02212.02
5.3.20.0030.02412.03
5.3.10.0000.02111.74
5.3.00.0010.02111.81
5.2.170.0000.03312.16
5.2.160.0030.02712.16
5.2.150.0000.03012.16
5.2.140.0030.02712.16
5.2.130.0000.03312.16
5.2.120.0000.03012.16
5.2.110.0070.02712.16
5.2.100.0000.03012.16
5.2.90.0000.03012.16
5.2.80.0000.03012.16
5.2.70.0030.02712.16
5.2.60.0030.06312.16
5.2.50.0000.03012.16
5.2.40.0070.06012.16
5.2.30.0070.06312.16
5.2.20.0000.03312.16
5.2.10.0030.06312.16
5.2.00.0030.04712.16
5.1.60.0030.02712.16
5.1.50.0100.04712.16
5.1.40.0000.05312.16
5.1.30.0070.05012.16
5.1.20.0030.05712.16
5.1.10.0030.05312.16
5.1.00.0030.04012.16
5.0.50.0070.02712.16
5.0.40.0030.04012.16
5.0.30.0030.05012.16
5.0.20.0070.02312.16
5.0.10.0030.01712.16
5.0.00.0000.03012.16
4.4.90.0000.01312.16
4.4.80.0030.02712.16
4.4.70.0000.03712.16
4.4.60.0000.03012.16
4.4.50.0000.01712.16
4.4.40.0000.05712.16
4.4.30.0030.01712.16
4.4.20.0000.03712.16
4.4.10.0000.03312.16
4.4.00.0000.03312.16
4.3.110.0000.01712.16
4.3.100.0070.02712.16
4.3.90.0000.01312.16
4.3.80.0000.02312.16
4.3.70.0000.01712.16
4.3.60.0000.02012.16
4.3.50.0070.01012.16
4.3.40.0000.02312.16
4.3.30.0000.01712.16
4.3.20.0000.01712.16
4.3.10.0030.01312.16
4.3.00.0000.01712.16

preferences:
46.36 ms | 401 KiB | 5 Q