3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'ajf097ebalu42784693052895=gs 0 1 2 3 4 5 6 7 8 9 0 �         10       20           30   ! " # $ % & \' 40 ( ) * + , - . / 0 1 50 2 3 4 5 6 7 8 9 : ; 60 < = > ? @ A B C D E 70 F G H I J K L M N O 80 P Q R S T U V W X Y 90 Z [ \ ] ^ _ ` a b crg@%$Udtth245456769-_23574690-_-+rwyeyfw,./\',mnbvcxzawerty`'; echo preg_replace(['~[^\d]~', '~^a~'], ['', ''], $str);

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.0090.00916.50
8.3.50.0100.00316.74
8.3.40.0090.00618.78
8.3.30.0060.00918.72
8.3.20.0030.00520.34
8.3.10.0040.00423.61
8.3.00.0030.00619.60
8.2.180.0150.00416.63
8.2.170.0150.00422.96
8.2.160.0080.00620.38
8.2.150.0030.00525.66
8.2.140.0030.00524.66
8.2.130.0070.00021.06
8.2.120.0070.00026.35
8.2.110.0070.00319.39
8.2.100.0080.00418.22
8.2.90.0050.00319.11
8.2.80.0000.00817.97
8.2.70.0050.00517.63
8.2.60.0040.00418.04
8.2.50.0040.00418.10
8.2.40.0070.00020.55
8.2.30.0040.00420.93
8.2.20.0040.00417.96
8.2.10.0060.00318.07
8.2.00.0050.00218.00
8.1.280.0100.00725.92
8.1.270.0040.01123.99
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0090.00023.95
8.1.230.0150.00017.64
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0080.00017.36
8.1.180.0040.00418.10
8.1.170.0040.00418.65
8.1.160.0040.00418.91
8.1.150.0000.00718.82
8.1.140.0040.00419.54
8.1.130.0000.00718.85
8.1.120.0070.00017.60
8.1.110.0000.00817.56
8.1.100.0040.00417.61
8.1.90.0000.00817.54
8.1.80.0000.00817.54
8.1.70.0000.00717.45
8.1.60.0080.00017.66
8.1.50.0040.00417.59
8.1.40.0000.00817.54
8.1.30.0020.00517.77
8.1.20.0110.00017.67
8.1.10.0080.00017.69
8.1.00.0040.00417.61
8.0.300.0060.00318.77
8.0.290.0040.00416.88
8.0.280.0040.00418.46
8.0.270.0030.00317.27
8.0.260.0030.00316.96
8.0.250.0000.00717.04
8.0.240.0040.00417.01
8.0.230.0050.00516.91
8.0.220.0070.00016.96
8.0.210.0070.00016.86
8.0.200.0050.00217.09
8.0.190.0060.00317.06
8.0.180.0050.00317.06
8.0.170.0030.00316.89
8.0.160.0030.00516.96
8.0.150.0000.00716.89
8.0.140.0000.00716.90
8.0.130.0060.00013.34
8.0.120.0000.00816.84
8.0.110.0000.00717.04
8.0.100.0080.00016.85
8.0.90.0050.00217.02
8.0.80.0030.01417.04
8.0.70.0000.00716.84
8.0.60.0070.00016.83
8.0.50.0030.00517.04
8.0.30.0070.01017.26
8.0.20.0110.01617.40
8.0.10.0000.00717.14
8.0.00.0090.00916.95
7.4.330.0000.00515.55
7.4.320.0030.00316.64
7.4.300.0040.00416.79
7.4.290.0110.00016.79
7.4.280.0020.00516.69
7.4.270.0000.00716.74
7.4.260.0030.00313.45
7.4.250.0030.00616.73
7.4.240.0070.00016.78
7.4.230.0030.00516.56
7.4.220.0120.00616.62
7.4.210.0110.00516.82
7.4.200.0000.00716.54
7.4.160.0090.00616.63
7.4.150.0060.01217.40
7.4.140.0130.00817.86
7.4.130.0130.00716.58
7.4.120.0090.00816.66
7.4.110.0090.00916.73
7.4.100.0120.00616.58
7.4.90.0140.00416.63
7.4.80.0030.01819.39
7.4.70.0120.00916.57
7.4.60.0110.00716.57
7.4.50.0030.00716.50
7.4.40.0060.01116.71
7.4.30.0150.00316.75
7.4.00.0070.01015.11
7.3.330.0030.00313.12
7.3.320.0050.00013.18
7.3.310.0040.00416.44
7.3.300.0000.00716.16
7.3.290.0040.01016.27
7.3.280.0070.00916.26
7.3.270.0170.00317.40
7.3.260.0090.00816.51
7.3.250.0140.00416.50
7.3.240.0040.01216.54
7.3.230.0100.00716.76
7.3.210.0100.00716.41
7.3.200.0120.00616.69
7.3.190.0050.01116.65
7.3.180.0070.01016.49
7.3.170.0000.01516.64
7.3.160.0090.00616.25
7.3.10.0040.01216.61
7.3.00.0060.00616.69
7.2.330.0110.00716.62
7.2.320.0150.00316.68
7.2.310.0080.00816.45
7.2.300.0190.00316.70
7.2.290.0120.00316.74
7.2.130.0050.00516.70
7.2.120.0090.00616.54
7.2.110.0080.00417.05
7.2.100.0050.00516.47
7.2.90.0120.00316.90
7.2.80.0060.00916.65
7.2.70.0040.01117.06
7.2.60.0010.01416.94
7.2.50.0090.00616.96
7.2.40.0060.00616.93
7.2.30.0120.00316.83
7.2.20.0130.00316.75
7.2.10.0030.01317.12
7.2.00.0040.01118.37
7.1.250.0100.00315.72
7.1.200.0130.00016.00
7.1.100.0060.00618.30
7.1.70.0150.00715.26
7.1.60.0470.00333.36
7.1.50.0200.01333.26
7.1.40.0250.01132.69
7.1.30.0290.01032.86
7.1.20.0290.01233.00
7.1.10.0170.00714.83
7.1.00.0110.01115.05
7.0.200.0130.00915.00
7.0.190.0100.01014.99
7.0.180.0110.01114.62
7.0.170.0180.00614.50
7.0.160.0140.01414.77
7.0.150.0170.00714.43
7.0.140.0140.01014.82
7.0.130.0160.01014.81
7.0.120.0120.00915.01
7.0.110.0130.01014.68
7.0.100.0130.00614.63
7.0.90.0700.00714.69
7.0.80.0240.01014.82
7.0.70.0070.01314.52
7.0.60.0140.00714.62
7.0.50.0170.00614.63
7.0.40.0140.01414.95
7.0.30.0150.00914.75
7.0.20.0150.00614.66
7.0.10.0210.00014.91
7.0.00.0130.00814.91

preferences:
37.28 ms | 401 KiB | 5 Q