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*/"; echo "/*\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.00718.31
8.3.50.0150.00616.48
8.3.40.0150.00018.54
8.3.30.0120.00318.60
8.3.20.0070.00018.95
8.3.10.0060.00323.63
8.3.00.0090.00020.81
8.2.180.0070.00718.04
8.2.170.0000.01522.96
8.2.160.0030.01022.16
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0070.00020.46
8.2.120.0070.00026.35
8.2.110.0080.00020.16
8.2.100.0090.00317.63
8.2.90.0040.00419.08
8.2.80.0030.00518.04
8.2.70.0040.00417.50
8.2.60.0080.00017.93
8.2.50.0060.00318.10
8.2.40.0040.00420.59
8.2.30.0000.00719.03
8.2.20.0080.00017.92
8.2.10.0000.00817.90
8.2.00.0070.00017.82
8.1.280.0100.00325.92
8.1.270.0000.00822.22
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0040.00422.62
8.1.230.0060.00619.07
8.1.220.0060.00317.74
8.1.210.0080.00018.77
8.1.200.0030.00617.13
8.1.190.0000.00816.98
8.1.180.0000.00818.10
8.1.170.0040.00418.53
8.1.160.0040.00418.99
8.1.150.0020.00518.81
8.1.140.0030.00619.36
8.1.130.0030.00318.71
8.1.120.0000.00717.31
8.1.110.0040.00417.32
8.1.100.0060.00317.36
8.1.90.0000.00717.34
8.1.80.0040.00417.31
8.1.70.0030.00317.31
8.1.60.0040.00417.33
8.1.50.0040.00417.36
8.1.40.0000.00817.40
8.1.30.0040.00417.37
8.1.20.0030.00617.51
8.1.10.0090.00017.34
8.1.00.0060.00317.26
8.0.300.0040.00318.77
8.0.290.0000.00716.63
8.0.280.0070.00018.27
8.0.270.0070.00017.23
8.0.260.0030.00316.75
8.0.250.0000.00616.89
8.0.240.0030.00316.70
8.0.230.0030.00316.77
8.0.220.0040.00416.66
8.0.210.0000.00816.66
8.0.200.0030.00316.76
8.0.190.0040.00416.77
8.0.180.0040.00416.65
8.0.170.0000.00716.70
8.0.160.0040.00416.66
8.0.150.0040.00416.64
8.0.140.0040.00416.80
8.0.130.0000.00513.14
8.0.120.0000.00716.79
8.0.110.0000.00716.64
8.0.100.0020.00516.79
8.0.90.0050.00216.59
8.0.80.0180.00316.81
8.0.70.0000.00816.77
8.0.60.0030.00716.78
8.0.50.0000.00716.82
8.0.30.0070.01116.89
8.0.20.0100.01417.40
8.0.10.0080.00016.76
8.0.00.0100.00916.73
7.4.330.0000.00515.55
7.4.320.0060.00016.30
7.4.300.0000.00616.29
7.4.290.0070.00416.43
7.4.280.0060.00316.46
7.4.270.0040.00416.40
7.4.260.0000.00513.13
7.4.250.0070.00016.33
7.4.240.0000.00716.52
7.4.230.0030.00316.56
7.4.220.0120.00616.31
7.4.210.0140.00016.42
7.4.200.0040.00416.40
7.4.160.0100.00416.47
7.4.150.0150.00317.40
7.4.140.0090.00917.86
7.4.130.0130.00716.42
7.4.120.0100.00916.43
7.4.110.0110.00816.44
7.4.100.0090.00916.36
7.4.90.0100.00616.19
7.4.80.0170.00619.39
7.4.70.0090.00916.57
7.4.60.0070.01016.46
7.4.50.0030.01316.39
7.4.40.0100.00616.33
7.4.30.0150.00616.48
7.4.00.0100.00715.07
7.3.330.0060.00013.03
7.3.320.0000.00513.05
7.3.310.0000.00716.23
7.3.300.0000.00616.00
7.3.290.0130.00616.15
7.3.280.0080.00916.13
7.3.270.0060.01517.40
7.3.260.0030.01516.45
7.3.250.0100.01216.26
7.3.240.0070.00916.16
7.3.230.0100.00616.27
7.3.210.0110.00516.13
7.3.200.0030.01416.07
7.3.190.0110.00616.50
7.3.180.0060.01616.53
7.3.170.0060.01016.32
7.3.160.0120.00316.25
7.3.10.0060.01015.45
7.3.00.0030.01715.76
7.2.330.0060.01216.36
7.2.320.0130.00316.28
7.2.310.0080.00816.56
7.2.300.0100.01116.38
7.2.290.0080.00816.55
7.2.130.0150.00916.09
7.2.120.0130.01316.64
7.2.110.0200.00516.21
7.2.100.0230.00616.79
7.2.90.0070.01116.18
7.2.80.0180.00016.39
7.2.70.0090.00816.11
7.2.60.0090.00616.42
7.2.50.0090.00814.52
7.2.40.0130.00316.03
7.2.30.0120.00616.13
7.2.20.0160.00616.15
7.2.10.0130.00816.17
7.2.00.0180.00616.39
7.1.250.0100.01015.54
7.1.200.0030.00715.50
7.1.70.0050.00316.90
7.1.60.0930.01733.03
7.1.50.0930.02032.79
7.1.40.1230.01032.35
7.1.30.1400.01032.39
7.1.20.1230.02332.81
7.1.10.0900.01014.51
7.1.00.1230.01014.55
7.0.200.1170.01014.71
7.0.190.1030.01014.66
7.0.180.0930.01014.34
7.0.170.1500.01314.20
7.0.160.1930.01314.18
7.0.150.1000.00314.45
7.0.140.1230.01014.13
7.0.130.1270.00314.30
7.0.120.1130.01314.30
7.0.110.1330.00314.39
7.0.100.1270.00714.38
7.0.90.1300.00714.36
7.0.80.1330.00314.36
7.0.70.1170.01714.55
7.0.60.1300.00714.31
7.0.50.1400.00714.46
7.0.40.1330.00714.49
7.0.30.1130.01314.45
7.0.20.1830.00714.43
7.0.10.1330.00714.51
7.0.00.1100.01014.57

preferences:
48.5 ms | 401 KiB | 5 Q