3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "/*\x64\x65\x28\x73\x74\x72*/\x24\x63\x6f\x64\x65/*\x63\x6f\x64\x65\x29*/" , "/*\x36\x34\x5f\x64\x65*/\x65\x76\x61\x6c\x20\x28\x20\x27\x20\x3f\x3e\x27" . "\x20\x2e\x20\x62\x61\x73\x65\x36\x34\x5f\x64\x65\x63\x6f\x64\x65\x20\x28" . "\x20\x73\x74\x72\x5f\x72\x6f\x74\x31\x33\x20\x28\x20\x6a\x6f\x69\x6e\x20" . "\x28\x20\x27\x27\x20\x2c\x20\x24\x63\x6f\x64\x65\x20\x29\x20\x29\x20\x29" . "\x20\x2e\x20\x27\x3c\x3f\x70\x68\x70\x20\x27\x20\x29\x3b/*\x63\x6f\x64*/" ;

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.01118.18
8.3.50.0070.00716.27
8.3.40.0060.00918.50
8.3.30.0120.00318.76
8.3.20.0040.00418.94
8.3.10.0090.00021.64
8.3.00.0060.00320.95
8.2.180.0040.01118.16
8.2.170.0040.01122.96
8.2.160.0080.00522.00
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0000.00720.25
8.2.120.0080.00026.35
8.2.110.0070.00421.04
8.2.100.0090.00320.54
8.2.90.0000.00819.38
8.2.80.0030.00517.97
8.2.70.0040.00417.80
8.2.60.0040.00418.21
8.2.50.0040.00418.10
8.2.40.0000.00820.46
8.2.30.0040.00419.23
8.2.20.0000.00717.81
8.2.10.0040.00417.84
8.2.00.0050.00218.00
8.1.280.0070.00725.92
8.1.270.0050.00323.85
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0080.00022.01
8.1.230.0080.00319.00
8.1.220.0050.00317.74
8.1.210.0060.00318.77
8.1.200.0000.00917.23
8.1.190.0040.00416.98
8.1.180.0050.00318.10
8.1.170.0040.00418.52
8.1.160.0050.00318.86
8.1.150.0040.00418.75
8.1.140.0000.01019.36
8.1.130.0030.00318.75
8.1.120.0000.00717.19
8.1.110.0040.00417.21
8.1.100.0000.00817.22
8.1.90.0000.00817.26
8.1.80.0080.00017.36
8.1.70.0000.00717.27
8.1.60.0030.00517.48
8.1.50.0040.00417.40
8.1.40.0030.00617.35
8.1.30.0040.00417.59
8.1.20.0030.00517.48
8.1.10.0070.00017.43
8.1.00.0050.00217.38
8.0.300.0060.00319.56
8.0.290.0030.00516.75
8.0.280.0030.00318.43
8.0.270.0070.00017.22
8.0.260.0030.00516.75
8.0.250.0030.00316.85
8.0.240.0030.00316.71
8.0.230.0000.00716.78
8.0.220.0000.00716.80
8.0.210.0000.00716.79
8.0.200.0030.00316.81
8.0.190.0060.00316.88
8.0.180.0060.00316.85
8.0.170.0030.00316.77
8.0.160.0000.00716.75
8.0.150.0000.00716.73
8.0.140.0070.00016.60
8.0.130.0000.00513.18
8.0.120.0000.00816.63
8.0.110.0040.00416.70
8.0.100.0060.00316.52
8.0.90.0000.00816.59
8.0.80.0100.00616.82
8.0.70.0040.00416.60
8.0.60.0060.00316.74
8.0.50.0040.00416.82
8.0.30.0100.00817.02
8.0.20.0160.00717.40
8.0.10.0040.00416.90
8.0.00.0110.00716.66
7.4.330.0030.00315.55
7.4.320.0030.00316.46
7.4.300.0030.00316.38
7.4.290.0060.00316.46
7.4.280.0020.00516.32
7.4.270.0030.00316.38
7.4.260.0000.00513.13
7.4.250.0000.00716.35
7.4.240.0000.00716.46
7.4.230.0030.00316.57
7.4.220.0090.00916.32
7.4.210.0160.00316.33
7.4.200.0000.00716.18
7.4.160.0080.00716.50
7.4.150.0130.00617.40
7.4.140.0100.00817.86
7.4.130.0090.01716.36
7.4.120.0130.01016.39
7.4.110.0070.01416.61
7.4.100.0110.01116.33
7.4.90.0070.01016.29
7.4.80.0060.01219.39
7.4.70.0130.00316.37
7.4.60.0060.00916.43
7.4.50.0100.00616.40
7.4.40.0110.00816.31
7.4.30.0070.01016.11
7.4.00.0000.01714.98
7.3.330.0000.00513.08
7.3.320.0000.00513.13
7.3.310.0000.00716.19
7.3.300.0060.00016.13
7.3.290.0090.00916.12
7.3.280.0070.01016.13
7.3.270.0150.00917.40
7.3.260.0070.01416.29
7.3.250.0060.01616.41
7.3.240.0100.00616.34
7.3.230.0120.01216.48
7.3.210.0130.00316.25
7.3.200.0030.01816.34
7.3.190.0060.00916.43
7.3.180.0130.00316.35
7.3.170.0060.00916.42
7.3.160.0120.00316.32
7.3.120.0060.01014.60
7.3.110.0100.00714.48
7.3.100.0100.00714.82
7.3.90.0070.01014.63
7.3.80.0000.01314.89
7.3.70.0040.01114.64
7.3.60.0070.00414.57
7.3.50.0120.00314.85
7.3.40.0120.00314.70
7.3.30.0080.00814.77
7.3.20.0060.01116.35
7.3.10.0120.01016.54
7.3.00.0080.00916.25
7.2.330.0090.00916.48
7.2.320.0090.00916.30
7.2.310.0080.00816.46
7.2.300.0060.01116.59
7.2.290.0100.00616.49
7.2.240.0070.01114.73
7.2.230.0070.00714.75
7.2.220.0070.01014.95
7.2.210.0060.00914.78
7.2.200.0030.01014.92
7.2.190.0060.00914.99
7.2.180.0150.00014.91
7.2.170.0000.01514.69
7.2.160.0160.00015.07
7.2.150.0090.00616.57
7.2.140.0070.00716.55
7.2.130.0110.00916.66
7.2.120.0110.00616.46
7.2.110.0090.00716.59
7.2.100.0040.01216.54
7.2.90.0130.00216.56
7.2.80.0100.00616.46
7.2.70.0080.00616.51
7.2.60.0110.00516.63
7.2.50.0070.01116.67
7.2.40.0070.00816.59
7.2.30.0120.00216.52
7.2.20.0070.00816.40
7.2.10.0050.00816.51
7.2.00.0050.01017.33
7.1.330.0100.00315.56
7.1.320.0060.00615.60
7.1.310.0070.00715.45
7.1.300.0110.00415.63
7.1.290.0030.00815.57
7.1.280.0060.00615.66
7.1.270.0070.00315.72
7.1.260.0030.00915.59
7.1.250.0080.00715.45
7.1.240.0040.00815.62
7.1.230.0060.00915.54
7.1.220.0100.00315.67
7.1.210.0040.01115.54
7.1.200.0050.00615.57
7.1.190.0060.00915.65
7.1.180.0070.00715.79
7.1.170.0030.01015.29
7.1.160.0070.00315.57
7.1.150.0040.00415.63
7.1.140.0070.00315.61
7.1.130.0030.01015.61
7.1.120.0080.00315.82
7.1.110.0060.00315.55
7.1.100.0040.00716.86
7.1.90.0030.00915.73
7.1.80.0100.00315.61
7.1.70.0020.00716.40
7.1.60.0600.01124.34
7.1.50.0510.00824.31
7.1.40.0100.00723.86
7.1.30.0570.01024.05
7.1.20.0120.01224.32
7.1.10.0460.00515.14
7.1.00.0570.01015.10
7.0.330.0030.01014.96
7.0.320.0030.00915.02
7.0.310.0000.01715.34
7.0.300.0070.00715.17
7.0.290.0040.01115.16
7.0.280.0070.00715.29
7.0.270.0030.00715.39
7.0.260.0040.00715.02
7.0.250.0030.01015.21
7.0.240.0070.00415.42
7.0.230.0040.00815.39
7.0.220.0030.00915.23
7.0.210.0080.00315.47
7.0.200.0590.00215.01
7.0.190.0530.00915.03
7.0.180.0060.00514.62
7.0.170.0080.00514.82
7.0.160.0750.00414.87
7.0.150.0020.00814.88
7.0.140.0730.00514.92
7.0.130.0400.00914.99
7.0.120.0330.01014.80
7.0.110.0060.00814.81
7.0.100.0060.00314.73
7.0.90.0510.00514.86
7.0.80.0410.00714.72
7.0.70.0050.00714.97
7.0.60.0380.01014.63
7.0.50.0460.00214.85
7.0.40.0390.00513.98
7.0.30.0420.00713.89
7.0.20.0070.00713.90
7.0.10.0040.00713.87
7.0.00.0380.00813.84
5.6.380.0040.00414.42

preferences:
40.6 ms | 400 KiB | 5 Q